重置密码:接入完成

This commit is contained in:
YunaiV
2023-12-17 17:06:11 +08:00
parent 46f3aa7255
commit 22fffcb029
8 changed files with 67 additions and 52 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ http.interceptors.response.use(
}
response.config.custom.showLoading && closeLoading();
if (response.data.error !== 0) {
if (response.data.error !== 0 && response.data.code !== 0) {
if (response.config.custom.showError)
uni.showToast({
title: response.data.msg || '服务器开小差啦,请稍后再试~',