This commit is contained in:
liuyuan
2025-07-22 13:41:20 +08:00
parent 2c99d9dbbf
commit 6fa247d0fa
18 changed files with 90 additions and 65 deletions

View File

@@ -156,7 +156,7 @@ $http.dataFactory = async function (res) {
// 返回正确的结果(then接受数据)
return Promise.resolve(httpData);
} else if (httpData.code == "401") {
if (uni.getStorageSync('guidePages') == 2) {
// if (uni.getStorageSync('guidePages') == 2) {
var jump = uni.getStorageSync('isJump') //以下解决多次跳转登录页的重点
if (!jump) {
//以下做token失效的操作
@@ -178,7 +178,7 @@ $http.dataFactory = async function (res) {
}, 100);
uni.setStorageSync('isJump', 'true')
}
}
// }
} else if (httpData.code == "500" && !httpData.msg) {
//500