From 75fb721ba216a37250651c97e72ae90f82f0db8d Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期一, 15 十二月 2025 14:08:06 +0800
Subject: [PATCH] 修改文件上传既能上传dwg文件,又能上传图片文件

---
 north-glass-erp/northglass-erp/src/main.js |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/main.js b/north-glass-erp/northglass-erp/src/main.js
index 3f9ff8a..e96081d 100644
--- a/north-glass-erp/northglass-erp/src/main.js
+++ b/north-glass-erp/northglass-erp/src/main.js
@@ -11,6 +11,8 @@
 // ...绾〃鏍�
 import VxeTable from 'vxe-table'
 import 'vxe-table/lib/style.css'
+import VXETablePluginExportXLSX from 'vxe-table-plugin-export-xlsx'
+import ExcelJS from 'exceljs'
 
 // ...鍙�� UI
 import VxeUI from 'vxe-pc-ui'
@@ -29,6 +31,10 @@
 
 const app = createApp(App)
 const pinia = createPinia()
+VxeTable.use(VXETablePluginExportXLSX, {
+    ExcelJS
+})
+
 pinia.use(piniaPluginPersistedstate )
 app.use(VxeUI)
 app.use(VxeTable)
@@ -45,4 +51,4 @@
 app.use(hiPrintPlugin)
 app.use(gridLayout)
 
-app.mount('#app')
+app.mount('#app')
\ No newline at end of file

--
Gitblit v1.8.0