From d806bf1af77108e0a4931549af8d35236aa93961 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Thu, 03 Aug 2023 09:09:33 +0800
Subject: [PATCH] 样式调整
---
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