refactor(projects): 页面布局调整为rdms风格
This commit is contained in:
@@ -10,8 +10,8 @@ defineOptions({ name: 'GlobalSider' });
|
||||
const appStore = useAppStore();
|
||||
const themeStore = useThemeStore();
|
||||
|
||||
const isVerticalMix = computed(() => themeStore.layout.mode === 'vertical-mix');
|
||||
const isHorizontalMix = computed(() => themeStore.layout.mode === 'horizontal-mix');
|
||||
const isVerticalMix = computed(() => themeStore.layoutMode === 'vertical-mix');
|
||||
const isHorizontalMix = computed(() => themeStore.layoutMode === 'horizontal-mix');
|
||||
const darkMenu = computed(() => !themeStore.darkMode && !isHorizontalMix.value && themeStore.sider.inverted);
|
||||
const showLogo = computed(() => !isVerticalMix.value && !isHorizontalMix.value);
|
||||
const menuWrapperClass = computed(() => (showLogo.value ? 'flex-1-hidden' : 'h-full'));
|
||||
|
||||
Reference in New Issue
Block a user