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,
// 显示表格设置
showTableSetting: true,
// 表格设置
// 表格全屏设置
tableSetting: {
fullScreen: true,
fullScreen: false,
},
// 是否显示操作列
showActionColumn: true,

View File

@ -138,7 +138,8 @@ export function useContentHeight(
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
const calcCompensationHeight = () => {