diff --git a/package.json b/package.json index 90c17598..54d05bbe 100644 --- a/package.json +++ b/package.json @@ -67,9 +67,9 @@ "vue-router": "^4.3.0", "vue-types": "^5.1.1", "vuedraggable": "^4.1.0", - "vxe-table": "4.4.7", + "vxe-table": "^4.5.21", "web-storage-cache": "^1.1.1", - "xe-utils": "^3.5.7", + "xe-utils": "^3.5.22", "xml-js": "^1.6.11" }, "devDependencies": { diff --git a/src/main.ts b/src/main.ts index e92facf7..aa725383 100644 --- a/src/main.ts +++ b/src/main.ts @@ -16,9 +16,6 @@ import { setupGlobCom } from '@/components' // 引入 element-plus import { setupElementPlus } from '@/plugins/elementPlus' -// 引入 vxe-table -import { setupVxeTable } from '@/plugins/vxeTable' - // 引入 form-create import { setupFormCreate } from '@/plugins/formCreate' @@ -57,7 +54,8 @@ const setupAll = async () => { setupElementPlus(app) - setupVxeTable(app) + const vxeTable = await import('@/plugins/vxeTable') + vxeTable.setupVxeTable(app) setupFormCreate(app)