From 8f52d28dbd8e958068608638b5d98ff98682f1b3 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 20 十二月 2024 10:59:02 +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