diff --git a/kicc-ui/src/views/system/config/index.vue b/kicc-ui/src/views/system/config/index.vue index c799f991..33ff4727 100644 --- a/kicc-ui/src/views/system/config/index.vue +++ b/kicc-ui/src/views/system/config/index.vue @@ -179,6 +179,7 @@ import {basicProps} from "/@/components/Table/src/props"; import {usePagination} from "/@/components/Table/src/hooks/usePagination"; import {useTableStyle} from "/@/components/Table/src/hooks/useTableStyle"; + import {useTableScroll} from "/@/components/Table/src/hooks/useTableScroll"; /** 类型规范统一声明定义区域 */ interface TableState { @@ -285,6 +286,14 @@ } = usePagination(basicTableProps); // 使用vben-table行斑马线 const { getRowClassName } = useTableStyle(basicTableProps, prefixCls); + // 使用vben-table自动计算表格高度 + /*const { getScrollRef, redoHeight } = useTableScroll( + basicTableProps, + tableElRef, + getColumnsRef, + getRowSelectionRef, + getDataSourceRef + );*/ /** 生命周期钩子回调处理区域 */ onMounted(() => {