MrShi
2025-11-10 7e9756e119c3a511b7be25ef38de6c27cc9d524b
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,