From ee75361ceffddbf2eb0a31a246d6f4f72242c4af Mon Sep 17 00:00:00 2001 From: "Alisa | side.one" Date: Sun, 28 May 2023 02:34:40 +0800 Subject: [PATCH] feat: theme default --- src/layouts/components/NavbarThemeSwitcher.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/components/NavbarThemeSwitcher.vue b/src/layouts/components/NavbarThemeSwitcher.vue index cc68a12c..bb1f2bed 100644 --- a/src/layouts/components/NavbarThemeSwitcher.vue +++ b/src/layouts/components/NavbarThemeSwitcher.vue @@ -32,7 +32,7 @@ const changeMode = (val?: string) => { onMounted(() => { - changeMode(theme.value === 'dark' ? 'light' : 'dark'); + changeMode(theme.value === 'light' ? 'dark' : 'light'); });