From ce88e217a2acea35652ef5c2a47afe53653e02a3 Mon Sep 17 00:00:00 2001
From: 鲁班七号 <9159450+luban-71@user.noreply.gitee.com>
Date: Mon, 04 Sep 2023 15:43:41 +0800
Subject: [PATCH] update src/views/Admin/components/msgDetailMod.vue.
---
vue.config.js | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index dc354e9..1048b70 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -10,4 +10,22 @@
],
},
},
+ configureWebpack: {
+ module: {
+ rules: [
+ {
+ test: /\.(xlsx|xls)$/,
+ use: [
+ {
+ loader: 'file-loader',
+ options: {
+ name: '[name].[ext]', // 保留原始文件名和扩展名
+ outputPath: 'assets', // 输出文件的文件夹路径,可以根据需要更改
+ },
+ },
+ ],
+ },
+ ],
+ },
+ }
};
--
Gitblit v1.9.2