feat: 隐藏导航页面

This commit is contained in:
fyy
2025-08-25 17:04:41 +08:00
parent 66b7cc44e9
commit 1de539ddde
4 changed files with 98 additions and 87 deletions

View File

@@ -11,7 +11,7 @@ import {
LanguageToggle,
PreferencesButton,
ThemeToggle,
BackNavigation,
// BackNavigation,
} from '../../widgets';
interface Props {
@@ -44,8 +44,7 @@ const rightSlots = computed(() => {
list.push({
index: REFERENCE_VALUE,
name: 'global-search',
}
);
});
}
if (preferencesButtonPosition.value.header) {
@@ -172,9 +171,9 @@ function clearPreferencesAndLogout() {
<template v-else-if="slot.name === 'fullscreen'">
<VbenFullScreen class="mr-1" />
</template>
<template v-else-if="slot.name === 'back-navigation'">
<!-- <template v-else-if="slot.name === 'back-navigation'">
<BackNavigation class="mr-1" />
</template>
</template> -->
</slot>
</template>
</div>