Commit 3dfc41fc authored by 王安伟's avatar 王安伟

Merge branch 'func_eccs_2250' into test

parents 94db2c8f 14c447ce
import Vue from "vue"; import Vue from "vue";
import { import {
Row, Row,
Col, Col,
menu, menu,
dropdown, dropdown,
Table, Table,
message, message,
pagination, pagination,
FormModel, FormModel,
Select, Select,
DatePicker, DatePicker,
Input, Input,
InputNumber, InputNumber,
Radio, Radio,
upload, upload,
Button, Button,
notification, notification,
popconfirm, popconfirm,
Modal, Modal,
modal, modal,
Spin, Spin,
Collapse, Collapse,
Tabs, Tabs,
Tooltip Tooltip,
} from "ant-design-vue"; Popover
} from "ant-design-vue";
export default () => {
let els = [ export default () => {
Row, let els = [
Col, Row,
menu, Col,
dropdown, menu,
Table, dropdown,
message, Table,
pagination, message,
FormModel, pagination,
Select, FormModel,
DatePicker, Select,
Input, DatePicker,
InputNumber, Input,
Radio, InputNumber,
upload, Radio,
Button, upload,
notification, Button,
popconfirm, notification,
Modal, popconfirm,
modal, Modal,
Spin, modal,
Collapse, Spin,
Tabs, Collapse,
Tooltip Tabs,
]; Tooltip,
// 注册 Popover
els.forEach((item) => { ];
Vue.use(item); // 注册
}); els.forEach((item) => {
// 全局提示 Vue.use(item);
Vue.prototype.$msg = notification; });
Vue.prototype.$message = message; // 全局提示
Vue.prototype.$modal = Modal; Vue.prototype.$msg = notification;
}; Vue.prototype.$message = message;
Vue.prototype.$modal = Modal;
};
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment