@ -17,7 +17,7 @@ export default defineComponent({
// eslint-disable-next-line vue/no-reserved-component-names
name: 'Table',
props: {
pageSize: propTypes.number.def(10),
pageSize: propTypes.number.def(20),
currentPage: propTypes.number.def(1),
// 是否多选
selection: propTypes.bool.def(false),
@ -39,7 +39,7 @@ interface TableObject<T = any> {
export const useTable = <T = any>(config?: UseTableConfig<T>) => {
const tableObject = reactive<TableObject<T>>({
// 页数
pageSize: 10,
pageSize: 20,
// 当前页
currentPage: 1,
// 总条数