src/main.ts
@@ -25,12 +25,24 @@ // 国际化 import i18n from '@/lang/index'; // vxeTable import VXETable from 'vxe-table'; import 'vxe-table/lib/style.css'; VXETable.config({ zIndex: 999999 }); // 修改 el-dialog 默认点击遮照为不关闭 import { ElDialog } from 'element-plus'; ElDialog.props.closeOnClickModal.default = false; const app = createApp(App); app.use(ElementIcons); app.use(router); app.use(store); app.use(i18n); app.use(VXETable); app.use(plugins); // 自定义指令 directive(app);