From 39a97e8e27d52ca0729cb6b0294a37717d063d0a Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期四, 22 八月 2024 16:57:55 +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 de5d30d..6b7a137 100644 --- a/src/main.ts +++ b/src/main.ts @@ -18,13 +18,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