去除全部请求拦截提示弹窗的icon
This commit is contained in:
@@ -88,7 +88,7 @@ function commonsProcess(showLoading, httpReqCallback) {
|
|||||||
// http响应码不正确
|
// http响应码不正确
|
||||||
if (statusCode != 200 && statusCode != 204 && statusCode != 201) {
|
if (statusCode != 200 && statusCode != 204 && statusCode != 201) {
|
||||||
isShowErrorToast = true
|
isShowErrorToast = true
|
||||||
infoBox.showErrorToast(data.message || '服务器异常')
|
infoBox.showToast(data.message || '服务器异常')
|
||||||
return Promise.reject(bodyData) // 跳转到catch函数
|
return Promise.reject(bodyData) // 跳转到catch函数
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user