MrShi
2025-09-29 7bc9c5f7432a9533a0b552c40fb63fc07de5b5fe
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,