新增禁用弹窗

This commit is contained in:
gyq
2025-05-24 18:16:56 +08:00
parent 64f8618802
commit 85d0f092c0
10 changed files with 1615 additions and 1484 deletions

View File

@@ -61,6 +61,7 @@ function commonsProcess(showLoading, httpReqCallback, isreturm) {
if (isreturm) {
return Promise.resolve(bodyData);
}
if (statusCode == 500) {
isShowErrorToast = true;
return Promise.reject(bodyData); // 跳转到catch函数
@@ -82,6 +83,9 @@ function commonsProcess(showLoading, httpReqCallback, isreturm) {
isShowErrorToast = true;
return Promise.reject(bodyData); // 跳转到catch函数
}
if (bodyData.code == 702) {
return Promise.reject(bodyData); // 跳转到catch函数
}
if (bodyData.code == 500) {
// 提示信息
isShowErrorToast = true;
@@ -100,7 +104,7 @@ function commonsProcess(showLoading, httpReqCallback, isreturm) {
//未绑定微信
if (bodyData.code == 407) {
return Promise.resolve(result);
return Promise.resolve(result);
}