import {Card, Table} from 'antd'; import {FC} from 'react'; import MenuModal from './modal'; import {useHandle, useList} from './hooks'; import {PAGE_SIZE_LIST} from '@utils'; import ChildMenuModal from '../child-menu'; import {TableTools} from '@components'; const TableList: FC = function() { const [{isFetching, data, page, pageSize, count}, {refetch, onPageChange}] = useList(); const [ {columns, visible, editId, pid, childVisible}, {onModalClose, onAdd, closeChildModal}, ] = useHandle(refetch); return ( <> ); }; export default TableList;