add 引入vxe-table依赖支持

This commit is contained in:
LiuHao 2024-01-26 09:58:00 +08:00
parent 7b7377fa1b
commit b4cc7b3de0
2 changed files with 10 additions and 1 deletions

View File

@ -42,7 +42,8 @@
"vue-cropper": "1.1.1",
"vue-i18n": "9.9.0",
"vue-router": "4.2.5",
"vue-types": "5.1.1"
"vue-types": "5.1.1",
"vxe-table": "4.5.18"
},
"devDependencies": {
"@iconify/json": "2.2.168",

View File

@ -25,12 +25,20 @@ import './permission';
// 国际化
import i18n from '@/lang/index';
// vxeTable
import VXETable from 'vxe-table';
import 'vxe-table/lib/style.css';
VXETable.config({
zIndex: 999999
});
const app = createApp(App);
app.use(ElementIcons);
app.use(router);
app.use(store);
app.use(i18n);
app.use(VXETable);
app.use(plugins);
// 自定义指令
directive(app);