diff --git a/src/layouts/components/AppLogo/index.vue b/src/layouts/components/AppLogo/index.vue index 841784ef..a7a6370a 100644 --- a/src/layouts/components/AppLogo/index.vue +++ b/src/layouts/components/AppLogo/index.vue @@ -37,16 +37,58 @@ defineProps({ color: $sidebar-logo-text-color; } } + + diff --git a/src/layouts/components/NavBar/components/NavbarActions.vue b/src/layouts/components/NavBar/components/NavbarActions.vue index 87ca259f..ef3386ce 100644 --- a/src/layouts/components/NavBar/components/NavbarActions.vue +++ b/src/layouts/components/NavBar/components/NavbarActions.vue @@ -52,7 +52,7 @@
@@ -68,6 +68,13 @@ import { useAppStore, useSettingsStore, useUserStore } from "@/store"; import { SidebarColor, ThemeMode } from "@/enums/settings/theme.enum"; import { LayoutMode } from "@/enums"; +// 导入子组件 +import MenuSearch from "@/components/MenuSearch/index.vue"; +import Fullscreen from "@/components/Fullscreen/index.vue"; +import SizeSelect from "@/components/SizeSelect/index.vue"; +import LangSelect from "@/components/LangSelect/index.vue"; +import Notification from "@/components/Notification/index.vue"; + const { t } = useI18n(); const appStore = useAppStore(); const settingStore = useSettingsStore(); @@ -127,6 +134,13 @@ function logout() { }); }); } + +/** + * 打开系统设置页面 + */ +function handleSettingsClick() { + settingStore.settingsVisible = true; +}