新增禁用弹窗
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user