From 621b71bb1cc0dc383db1e4b89c9413bb9925b231 Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期三, 20 十一月 2024 16:54:32 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/TextbookReader --- 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