refactor: app-main 弃用naive ui虚拟滚动条,改成自定义滚动条
This commit is contained in:
@@ -8,13 +8,11 @@
|
||||
<AppHeader />
|
||||
</n-layout-header>
|
||||
|
||||
<n-layout
|
||||
style="background-color: #f5f6fb"
|
||||
:style="`height: calc(100% - ${useTheme.header.height}px)`"
|
||||
:native-scrollbar="false"
|
||||
>
|
||||
<n-layout style="background-color: #f5f6fb" :style="`height: calc(100% - ${useTheme.header.height}px)`">
|
||||
<AppTags v-if="useTheme.tags.visible" />
|
||||
<AppMain />
|
||||
<AppMain
|
||||
:style="{ height: `calc(100% - ${useTheme.tags.visible ? useTheme.tags.height : 0}px)`, overflow: 'auto' }"
|
||||
/>
|
||||
</n-layout>
|
||||
</n-layout>
|
||||
</n-layout>
|
||||
|
Reference in New Issue
Block a user