Browse Source

👣 重构底层

master
wangxiang 3 years ago
parent
commit
8891199873
  1. 9
      kicc-ui/src/views/system/config/index.vue

9
kicc-ui/src/views/system/config/index.vue

@ -179,6 +179,7 @@
import {basicProps} from "/@/components/Table/src/props"; import {basicProps} from "/@/components/Table/src/props";
import {usePagination} from "/@/components/Table/src/hooks/usePagination"; import {usePagination} from "/@/components/Table/src/hooks/usePagination";
import {useTableStyle} from "/@/components/Table/src/hooks/useTableStyle"; import {useTableStyle} from "/@/components/Table/src/hooks/useTableStyle";
import {useTableScroll} from "/@/components/Table/src/hooks/useTableScroll";
/** 类型规范统一声明定义区域 */ /** 类型规范统一声明定义区域 */
interface TableState { interface TableState {
@ -285,6 +286,14 @@
} = usePagination(basicTableProps); } = usePagination(basicTableProps);
// 使vben-table线 // 使vben-table线
const { getRowClassName } = useTableStyle(basicTableProps, prefixCls); const { getRowClassName } = useTableStyle(basicTableProps, prefixCls);
// 使vben-table
/*const { getScrollRef, redoHeight } = useTableScroll(
basicTableProps,
tableElRef,
getColumnsRef,
getRowSelectionRef,
getDataSourceRef
);*/
/** 生命周期钩子回调处理区域 */ /** 生命周期钩子回调处理区域 */
onMounted(() => { onMounted(() => {

Loading…
Cancel
Save