2
0

feat:隐藏主题颜色变化按钮

This commit is contained in:
zhongzm
2025-01-23 20:29:13 +08:00
parent 35173135c5
commit 83cc4555b7

View File

@@ -65,11 +65,11 @@ const headerMenus = computed(() => {
<div class="h-full flex-y-center justify-end">
<LangSwitch :lang="appStore.locale" :lang-options="appStore.localeOptions" @change-lang="appStore.changeLocale" />
<FullScreen v-if="!appStore.isMobile" :full="isFullscreen" @click="toggle" />
<ThemeSchemaSwitch
:theme-schema="themeStore.themeScheme"
:is-dark="themeStore.darkMode"
@switch="themeStore.toggleThemeScheme"
/>
<!-- <ThemeSchemaSwitch-->
<!-- :theme-schema="themeStore.themeScheme"-->
<!-- :is-dark="themeStore.darkMode"-->
<!-- @switch="themeStore.toggleThemeScheme"-->
<!-- />-->
<ThemeButton v-if="hasRole('super')" />
<UserAvatar />
</div>