From 09abeae851f72a25f105030e37c6a0c9f3189378 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 07 七月 2026 14:54:57 +0800
Subject: [PATCH] 测试完成
---
src/utils/request.js | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/utils/request.js b/src/utils/request.js
index 05dcfc1..2445631 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -17,7 +17,7 @@
// axios涓姹傞厤缃湁baseURL閫夐」锛岃〃绀鸿姹俇RL鍏叡閮ㄥ垎
baseURL: process.env.VUE_APP_BASE_API,
// 瓒呮椂
- timeout: 10000,
+ timeout: 100000,
});
// request鎷︽埅鍣�
@@ -110,10 +110,8 @@
}
)
.then(() => {
- isRelogin.show = false;
- store.dispatch("LogOut").then(() => {
- location.href = "/index";
- });
+ console.log('閫夋嫨閲嶆柊鐧诲綍');
+ this.$router.replace("/login");
})
.catch(() => {
isRelogin.show = false;
--
Gitblit v1.9.3