2
0

style: 主题切换显示

This commit is contained in:
TsMask
2024-12-06 21:31:59 +08:00
parent e637781987
commit 54abd0ce0a
2 changed files with 2 additions and 4 deletions

View File

@@ -57,13 +57,12 @@ const headerMenus = computed(() => {
<GlobalBreadcrumb v-if="!appStore.isMobile" class="ml-12px" />
</div>
<div class="h-full flex-y-center justify-end">
<LangSwitch :lang="appStore.locale" :lang-options="appStore.localeOptions" @change-lang="appStore.changeLocale" v-if="hasRole('super')" />
<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"
v-if="hasRole('super')"
/>
<ThemeButton v-if="hasRole('super')" />
<UserAvatar />