去除全部请求拦截提示弹窗的icon
This commit is contained in:
parent
6b329a7e2e
commit
bc03b2c30e
|
|
@ -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函数
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue