From a5e841edeb90e8b3306a395d40fd4953d092ead6 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 19 九月 2025 17:43:43 +0800
Subject: [PATCH] 优化
---
admin/src/plugins/download.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/admin/src/plugins/download.js b/admin/src/plugins/download.js
index f4c5876..b6ee316 100644
--- a/admin/src/plugins/download.js
+++ b/admin/src/plugins/download.js
@@ -16,6 +16,6 @@
message.error('鏃犳硶涓嬭浇鏂囦欢锛屽彲鑳藉洜涓烘暟鎹鐞嗛敊璇鑷存枃浠跺ぇ灏忎负0B')
return
}
- // 涓嬭浇鎺ュ彛鍦ㄥ搷搴斿ごeva-download-filename涓瓨鏀炬枃浠跺悕绉帮紝鎺ュ彛鐨勮繑鍥炵殑鏂囦欢鍚嶇О闇�閲囩敤url encode鐨勬柟寮忚繘琛岀紪鐮�
- fileDownload(response.data, decode ? decodeURI(response.headers['eva-download-filename']) : response.headers['eva-download-filename'], mime)
+ // 涓嬭浇鎺ュ彛鍦ㄥ搷搴斿ごdoumee-download-filename涓瓨鏀炬枃浠跺悕绉帮紝鎺ュ彛鐨勮繑鍥炵殑鏂囦欢鍚嶇О闇�閲囩敤url encode鐨勬柟寮忚繘琛岀紪鐮�
+ fileDownload(response.data, decode ? decodeURI(response.headers['doumee-download-filename']) : response.headers['doumee-download-filename'], mime)
}
--
Gitblit v1.9.3