From ed635b50517252212b859283cdaf2796bcf84071 Mon Sep 17 00:00:00 2001 From: msgroup Date: Sat, 17 Apr 2021 09:18:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=99=E8=AF=AF=E6=B6=88=E6=81=AF=E8=BF=94?= =?UTF-8?q?=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/static/plugins/ms/1.0.0/ms.http.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/webapp/static/plugins/ms/1.0.0/ms.http.js b/src/main/webapp/static/plugins/ms/1.0.0/ms.http.js index 09414bbc..829f1d94 100644 --- a/src/main/webapp/static/plugins/ms/1.0.0/ms.http.js +++ b/src/main/webapp/static/plugins/ms/1.0.0/ms.http.js @@ -48,11 +48,15 @@ msg = "账号被锁定!"; } else if (error.response.status == 500) { msg = "服务器异常"; + } else if (error.response.status == 501) { msg = "您的操作被取消或不允许提交"; } else if (error.response.status == 423) { msg = "服务器正在开小差...."; } + if(error.response.data && error.response.data.msg) { + msg = error.response.data.msg; + } if (msg) { var tempVue = document.createElement('div'); tempVue.id = "tempVue";