From d8f65ca4267d592cb53bba1f2dd5f7b7b6d4f99c Mon Sep 17 00:00:00 2001 From: tamaina Date: Sat, 27 May 2023 12:27:52 +0000 Subject: [PATCH] fix --- packages/frontend/src/ui/deck.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/ui/deck.vue b/packages/frontend/src/ui/deck.vue index 18595d434..232cf0327 100644 --- a/packages/frontend/src/ui/deck.vue +++ b/packages/frontend/src/ui/deck.vue @@ -133,7 +133,7 @@ mainRouter.navHook = (path, flag): boolean => { if (mainRouter.currentRoute.value.path !== '/') { const noMainColumn = !deckStore.state.columns.some(x => x.type === 'main'); if (deckStore.state.navWindow || noMainColumn) { - os.pageWindow(mainRouter.currentRoute.value.path); + os.pageWindow(location.pathname + location.search + location.hash); mainRouter.replace('/'); } }