From 7bc9c5f7432a9533a0b552c40fb63fc07de5b5fe Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期一, 29 九月 2025 09:56:24 +0800 Subject: [PATCH] 优化 --- h5/utils/http.interceptor.js | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/h5/utils/http.interceptor.js b/h5/utils/http.interceptor.js index 6d17428..a136b00 100644 --- a/h5/utils/http.interceptor.js +++ b/h5/utils/http.interceptor.js @@ -18,11 +18,11 @@ uni.$u.http.interceptors.response.use((response) => { uni.hideLoading(); // 鐧诲綍杩囨湡 - if (response.data.code === 401) { - uni.navigateTo({ - url: '/packageA/loginAgain/loginAgain' - }); - } + // if (response.data.code === 401) { + // uni.navigateTo({ + // url: '/packageA/loginAgain/loginAgain' + // }); + // } if (response.data.code !== 200) { uni.showToast({ title: response.data.message, -- Gitblit v1.9.3