修复次导航收起时页面展示错误

This commit is contained in:
Hooray
2025-05-26 14:34:48 +08:00
parent 3c09401955
commit e87b72f624
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -35,8 +35,7 @@ const isMainSidebarHide = computed(() => {
// 侧边栏次导航是否隐藏
const isSubSidebarHide = computed(() => {
return (settingsStore.settings.menu.subMenuCollapse && settingsStore.mode !== 'mobile')
|| menuStore.sidebarMenus.every(item => item.meta?.menu === false)
return menuStore.sidebarMenus.every(item => item.meta?.menu === false)
})
// 标签栏是否隐藏
+1 -1
View File
@@ -89,6 +89,6 @@ declare global {
// for type re-export
declare global {
// @ts-ignore
export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
import('vue')
}