refactor(system): 实现表格自适应高度布局,抽离通用滚动工具hooks

1. 新增useTableScroll组合式函数,动态计算表格滚动高度
2. 改造多个系统页面布局为弹性伸缩容器,解决页面滚动问题
3. 统一表格滚动配置,优化页面视觉体验
This commit is contained in:
andyesfly committed 2026-08-19 17:12:29 +08:00
1 parent cbc0a936b7
commit 4048aeb6fb
7 files changed
+234 -4

No files matched your search

+6 -2
View File
@@ -409,13 +409,17 @@ function handleUserMenuClick({ key }: { key: string }) {
.content {
margin: 0;
min-height: calc(100vh - 64px);
height: calc(100vh - 64px);
overflow: hidden;
.view-wrapper {
background: #fff;
padding: 0;
border-radius: 0;
min-height: calc(100vh - 64px);
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
box-shadow: none;
}
}