From b946b74ca674f7e7a04d99a960040438c95ef22d Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 20 十一月 2025 16:53:13 +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