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'); });