剔除无用代码

This commit is contained in:
YeMingfei666 2025-01-22 11:39:52 +08:00
parent fa809e7b0b
commit 1550bcd19c
1 changed files with 0 additions and 2 deletions

View File

@ -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函数
}