From 35267927453f8caff1f044c031086878008708fa Mon Sep 17 00:00:00 2001 From: yaoyuhao Date: Mon, 18 Nov 2024 09:36:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/guide.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/view/guide.vue b/src/view/guide.vue index 655d9c0..2860500 100644 --- a/src/view/guide.vue +++ b/src/view/guide.vue @@ -217,7 +217,8 @@ const login = () => { } } else { var tokenPd = getCookie("lytoken"); - if (!tokenPd) { + var tokenLogin=tools.data.get("token"); + if (!tokenPd && !tokenLogin) { window.location.href = "https://jzzf.longyou.gov.cn:998/api/login?returnURL=" + window.location.href;