mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
fix(components): 修复HorizontalLayout布局
This commit is contained in:
@ -1,19 +1,17 @@
|
||||
<template>
|
||||
<n-layout :native-scrollbar="false" :content-style="scrollbarContentStyle" class="h-full">
|
||||
<n-layout ref="scrollbar" :native-scrollbar="false" :content-style="scrollbarContentStyle" class="h-full">
|
||||
<n-layout-header :inverted="headerInverted" :position="headerPosition" :class="{ 'z-11': theme.fixedHeaderAndTab }">
|
||||
<global-header :show-logo="true" :show-menu-collape="false" :show-menu="true" class="relative z-2" />
|
||||
<global-tab v-if="theme.multiTabStyle.visible" />
|
||||
</n-layout-header>
|
||||
<space-placeholder />
|
||||
<n-layout-content ref="scrollbar" class="flex-1" :native-scrollbar="false" :content-style="scrollbarContentStyle">
|
||||
<global-content />
|
||||
<global-footer />
|
||||
</n-layout-content>
|
||||
<global-content />
|
||||
<global-footer />
|
||||
</n-layout>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { NLayout, NLayoutContent, NLayoutHeader } from 'naive-ui';
|
||||
import { NLayout, NLayoutHeader } from 'naive-ui';
|
||||
import { useThemeStore } from '@/store';
|
||||
import { useLayoutConfig } from '@/composables';
|
||||
import { GlobalHeader, GlobalContent, GlobalFooter, GlobalTab, SpacePlaceholder } from '@/layouts/common';
|
||||
|
Reference in New Issue
Block a user