From 91c3ac062c9840faa6649b283be33b1f9366e2ca Mon Sep 17 00:00:00 2001 From: shizhong <124974919@qq.com> Date: Wed, 13 Mar 2024 12:09:14 +0800 Subject: [PATCH] =?UTF-8?q?vxe4.5=E7=89=88=E6=9C=AC=E5=92=8Ci18n=E5=86=B2?= =?UTF-8?q?=E7=AA=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- src/main.ts | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) 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)