You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
1.6 KiB
97 lines
1.6 KiB
/*
|
|
* @Author: wally
|
|
* @email: 18603454788@163.com
|
|
* @Date: 2021-01-13 17:21:29
|
|
* @LastEditors: wally
|
|
* @LastEditTime: 2021-01-19 13:06:34
|
|
*/
|
|
import Vue from 'vue';
|
|
import {
|
|
Pagination,
|
|
Button,
|
|
Input,
|
|
message,
|
|
notification,
|
|
Modal,
|
|
Tag,
|
|
Table,
|
|
Tabs,
|
|
Icon,
|
|
Empty,
|
|
Form,
|
|
Select,
|
|
Upload,
|
|
Badge,
|
|
Popconfirm,
|
|
DatePicker,
|
|
Switch,
|
|
Radio,
|
|
Dropdown,
|
|
Menu,
|
|
Row,
|
|
Col,
|
|
Timeline,
|
|
Checkbox,
|
|
BackTop,
|
|
Carousel,
|
|
Avatar,
|
|
Layout,
|
|
Breadcrumb,
|
|
Tooltip,
|
|
Steps,
|
|
Divider,
|
|
Card,
|
|
Skeleton,
|
|
AutoComplete,
|
|
InputNumber,
|
|
} from 'ant-design-vue';
|
|
import { ConfigProvider } from 'ant-design-vue';
|
|
Vue.component(ConfigProvider.name, ConfigProvider);
|
|
Vue.use(Pagination);
|
|
Vue.use(Button);
|
|
Vue.use(Input);
|
|
Vue.use(Modal);
|
|
Vue.use(Tag);
|
|
Vue.use(Table);
|
|
Vue.use(Tabs);
|
|
Vue.use(Icon);
|
|
Vue.use(Empty);
|
|
Vue.use(Form);
|
|
Vue.use(Select);
|
|
Vue.use(Upload);
|
|
Vue.use(Badge);
|
|
Vue.use(Popconfirm);
|
|
Vue.use(DatePicker);
|
|
Vue.use(Switch);
|
|
Vue.use(Radio);
|
|
Vue.use(Dropdown);
|
|
Vue.use(Menu);
|
|
Vue.use(Row);
|
|
Vue.use(Col);
|
|
Vue.use(Timeline);
|
|
Vue.use(Checkbox);
|
|
Vue.use(BackTop);
|
|
Vue.use(Carousel);
|
|
Vue.use(Avatar);
|
|
Vue.use(Layout);
|
|
Vue.use(Breadcrumb);
|
|
Vue.use(Tooltip);
|
|
Vue.use(Steps);
|
|
Vue.use(Divider);
|
|
Vue.use(Card);
|
|
Vue.use(Skeleton);
|
|
Vue.use(AutoComplete);
|
|
Vue.use(InputNumber);
|
|
|
|
Vue.prototype.$message = message;
|
|
Vue.prototype.$notification = notification;
|
|
Vue.prototype.$info = Modal.info;
|
|
Vue.prototype.$success = Modal.success;
|
|
Vue.prototype.$error = Modal.error;
|
|
Vue.prototype.$warning = Modal.warning;
|
|
Vue.prototype.$confirm = Modal.confirm;
|
|
|
|
message.config({
|
|
duration: 3,
|
|
maxCount: 3,
|
|
});
|
|
|