From 8bb0a518dd4d9450370582c4d4ac3ae1dba1466b Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期五, 25 四月 2025 15:28:18 +0800 Subject: [PATCH] 资源 --- src/main.ts | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/src/main.ts b/src/main.ts index 43ec77a..78dfb1f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -24,13 +24,10 @@ // 璺敱鎵ц涔嬪墠鐨勪竴浜涙搷浣� router.beforeEach((to, from, next) => { - console.log(to, from) const isInternalLink = from.fullPath.includes('/testBookReader') if (isInternalLink) { - console.log('閫氳繃鍐呴儴閾炬帴杩涘叆椤圭洰') sessionStorage.removeItem('loginCtx') } else { - console.log(loginCtx, '閫氳繃澶栭儴閾炬帴杩涘叆椤圭洰') sessionStorage.setItem('loginCtx', loginCtx) } -- Gitblit v1.9.1