From 56717714f1b24b3ca781f277f1a490162198764a Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Tue, 18 Feb 2025 14:06:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B5=8C=E5=85=A5=E5=BC=8F):=20=E5=B5=8C?= =?UTF-8?q?=E5=85=A5=E5=BC=8F=E8=B7=AF=E7=94=B1=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/router/embedded.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/core-frontend/src/router/embedded.ts b/core/core-frontend/src/router/embedded.ts index 2a1128b577..8aaf828055 100644 --- a/core/core-frontend/src/router/embedded.ts +++ b/core/core-frontend/src/router/embedded.ts @@ -11,14 +11,10 @@ const router = createRouter({ const rawInstall = router.install router.install = app => { const hash = window.location.hash - console.log('hash', hash) rawInstall(app) - console.log('hash1', window.location.hash) setTimeout(() => { - console.log('hash2', window.location.hash) + window.location.hash = hash }, 300) - window.location.hash = hash - console.log('hash3', window.location.hash) } export const setupRouter = (app: App) => {