From 6e3981c09ecadc6ff06600e3ded5b38b2abc7ed3 Mon Sep 17 00:00:00 2001 From: piexlmax Date: Mon, 27 Dec 2021 12:10:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=8A=A8=E5=8C=96?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8A=A5=E9=94=99=E4=BF=A1=E6=81=AF=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/utils/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/utils/request.js b/web/src/utils/request.js index e1cbe154..f386b728 100644 --- a/web/src/utils/request.js +++ b/web/src/utils/request.js @@ -70,7 +70,7 @@ service.interceptors.response.use( } else { ElMessage({ showClose: true, - message: response.data.msg, + message: response.data.msg||decodeURI(response.headers.msg), type: 'error' }) if (response.data.data && response.data.data.reload) {