From 1550bcd19ca89724aca667148d63575606100e1d Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Wed, 22 Jan 2025 11:39:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=94=E9=99=A4=E6=97=A0=E7=94=A8=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http/http.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/http/http.js b/http/http.js index 61be1ca..dcef9d8 100644 --- a/http/http.js +++ b/http/http.js @@ -73,8 +73,6 @@ function commonsProcess(showLoading, httpReqCallback, isreturm) { // http响应码不正确 if (statusCode != 200 && statusCode != 204 && statusCode != 201) { isShowErrorToast = true; - data.message = - data.message == "Bad credentials" ? "用户名或密码错误" : data.message; infoBox.showToast(data.message || "服务器异常"); return Promise.reject(bodyData); // 跳转到catch函数 }