From 14de157ceffef3388529a952e086be8900819ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A9?= <1107402337@qq.com> Date: Wed, 28 Jun 2023 16:09:45 +0800 Subject: [PATCH] =?UTF-8?q?chore(projects):=20=E9=A1=B5=E9=9D=A2=E7=A6=BB?= =?UTF-8?q?=E5=BC=80=E9=87=8D=E7=BD=AEtheme=E7=8A=B6=E6=80=81=E5=86=8D?= =?UTF-8?q?=E7=BC=93=E5=AD=98=E4=B8=BB=E9=A2=98=E9=85=8D=E7=BD=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/composables/events.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/composables/events.ts b/src/composables/events.ts index c780870a..6fc2ba9c 100644 --- a/src/composables/events.ts +++ b/src/composables/events.ts @@ -14,6 +14,7 @@ export function useGlobalEvents() { /** 页面离开时缓存多页签数据 */ useEventListener(window, 'beforeunload', () => { + theme.resetThemeStore() theme.cacheThemeSettings(); tab.cacheTabRoutes(); });