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"> <div class="h-full flex-y-center justify-end">
<LangSwitch :lang="appStore.locale" :lang-options="appStore.localeOptions" @change-lang="appStore.changeLocale" /> <LangSwitch :lang="appStore.locale" :lang-options="appStore.localeOptions" @change-lang="appStore.changeLocale" />
<FullScreen v-if="!appStore.isMobile" :full="isFullscreen" @click="toggle" /> <FullScreen v-if="!appStore.isMobile" :full="isFullscreen" @click="toggle" />
<ThemeSchemaSwitch <!-- <ThemeSchemaSwitch-->
:theme-schema="themeStore.themeScheme" <!-- :theme-schema="themeStore.themeScheme"-->
:is-dark="themeStore.darkMode" <!-- :is-dark="themeStore.darkMode"-->
@switch="themeStore.toggleThemeScheme" <!-- @switch="themeStore.toggleThemeScheme"-->
/> <!-- />-->
<ThemeButton v-if="hasRole('super')" /> <ThemeButton v-if="hasRole('super')" />
<UserAvatar /> <UserAvatar />
</div> </div>