From 5cfd98e57bcd99c0c97888236e6f683efe4741cc Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 06 Nov 2025 17:36:53 +0800
Subject: [PATCH] feat: 跳登录的时候关闭其他页面
---
src/components/WebViewPlus.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/components/WebViewPlus.vue b/src/components/WebViewPlus.vue
index 6e7da46..1d54046 100644
--- a/src/components/WebViewPlus.vue
+++ b/src/components/WebViewPlus.vue
@@ -22,7 +22,7 @@
function messageFun(e) {
if (e.data.type === "WEB_INVOKE_APPSERVICE") {
if (e.data.data.arg.type === "tokenExpired") {
- return uni.redirectTo({
+ return uni.reLaunch({
url: "/pages/login/index",
});
}
--
Gitblit v1.9.3