引入vxe-table依赖支持

This commit is contained in:
数据小王子 2024-03-05 16:50:16 +08:00
parent 0112faf3ba
commit 9e9773fa82

View File

@ -25,12 +25,20 @@ import './permission';
// 国际化 // 国际化
import i18n from '@/lang/index'; 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); const app = createApp(App);
app.use(ElementIcons); app.use(ElementIcons);
app.use(router); app.use(router);
app.use(store); app.use(store);
app.use(i18n); app.use(i18n);
app.use(VXETable);
app.use(plugins); app.use(plugins);
// 自定义指令 // 自定义指令
directive(app); directive(app);