From d2bc6e096f0806b78ea92d4b90a21d3627d406c7 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 08 三月 2024 18:28:42 +0800
Subject: [PATCH] mrshi

---
 company/src/plugins/download.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/company/src/plugins/download.js b/company/src/plugins/download.js
index 39ba4c5..f4c5876 100644
--- a/company/src/plugins/download.js
+++ b/company/src/plugins/download.js
@@ -2,12 +2,11 @@
 import message from './message'
 
 export default function (response, decode = true, mime = 'application/octet-stream') {
-  // debugger
   // 褰撲笅杞芥帴鍙f病鏈夋垚鍔熻繑鍥炴祦骞朵笖鎺ュ彛杩斿洖鐨勬槸JSON鏃堕渶瑕佸鍝嶅簲娴佽繘琛岃В鏋愬苟鎻愮ず閿欒銆傦紙澶勭悊涓嬭浇鎺ュ彛鍑虹幇鏈煡寮傚父鐨勬儏鍐碉級
   if (response.headers['content-type'] === 'application/json') {
     const blob = new Blob([response.data])
     const fileReader = new FileReader()
-    fileReader.readAsText(blob, 'UTF-8')
+    fileReader.readAsText(blob, 'utf-8')
     fileReader.onload = function () {
       message.apiFailed(JSON.parse(fileReader.result))
     }

--
Gitblit v1.9.3