table的全屏默认关闭

pull/170/head^2
zhangdaiscott 2022-09-22 14:05:19 +08:00
parent ef65bb830e
commit 3d0d857052
2 changed files with 4 additions and 3 deletions

View File

@ -248,9 +248,9 @@ export function useListTable(tableProps: TableProps): [
showIndexColumn: false, showIndexColumn: false,
// 显示表格设置 // 显示表格设置
showTableSetting: true, showTableSetting: true,
// 表格设置 // 表格全屏设置
tableSetting: { tableSetting: {
fullScreen: true, fullScreen: false,
}, },
// 是否显示操作列 // 是否显示操作列
showActionColumn: true, showActionColumn: true,

View File

@ -138,7 +138,8 @@ export function useContentHeight(
upward(anchorEl, upwardSpace); upward(anchorEl, upwardSpace);
} }
let height = bottomIncludeBody - unref(layoutFooterHeightRef) - unref(offsetHeightRef) - substractHeight - substractSpaceHeight - upwardSpaceHeight; let height =
bottomIncludeBody - unref(layoutFooterHeightRef) - unref(offsetHeightRef) - substractHeight - substractSpaceHeight - upwardSpaceHeight;
// compensation height // compensation height
const calcCompensationHeight = () => { const calcCompensationHeight = () => {