diff --git a/gear-ui3/src/App.vue b/gear-ui3/src/App.vue
index 462e11c..deee6b7 100644
--- a/gear-ui3/src/App.vue
+++ b/gear-ui3/src/App.vue
@@ -7,10 +7,18 @@ import useSettingsStore from '@/store/modules/settings'
import { handleThemeStyle } from '@/utils/theme'
import useProductStore from '@/store/modules/product'
import { getToken } from '@/utils/auth'
+import { useDark } from '@vueuse/core'
+
+const isDark = useDark()
onMounted(() => {
nextTick(() => {
// 初始化主题样式
+
+ console.log(isDark.value)
+ if (isDark.value) {
+ useSettingsStore().toggleTheme()
+ }
handleThemeStyle(useSettingsStore().theme)
if (getToken()) {
useProductStore().fetchProductMap()
diff --git a/gear-ui3/src/assets/images/right.png b/gear-ui3/src/assets/images/right.png
new file mode 100644
index 0000000..939271d
Binary files /dev/null and b/gear-ui3/src/assets/images/right.png differ
diff --git a/gear-ui3/src/layout/components/Navbar.vue b/gear-ui3/src/layout/components/Navbar.vue
index ab2db22..ba0a337 100644
--- a/gear-ui3/src/layout/components/Navbar.vue
+++ b/gear-ui3/src/layout/components/Navbar.vue
@@ -10,12 +10,12 @@
-
+