feat: 初始化项目管理列表
This commit is contained in:
@ -67,6 +67,9 @@ export function useTableSelectionWithPagination(options: UseTableSelectionWithPa
|
||||
pageInfo.value.page = 1;
|
||||
options.onPageSizeChange?.(size);
|
||||
};
|
||||
const resetPageInfo = () => {
|
||||
pageInfo.value = cloneDeep(DEFAULT_PAGE_INFO)
|
||||
}
|
||||
|
||||
const rowSelection = computed(() => ({
|
||||
type: 'checkbox',
|
||||
@ -83,5 +86,6 @@ export function useTableSelectionWithPagination(options: UseTableSelectionWithPa
|
||||
rowSelection,
|
||||
handleSelect,
|
||||
handleSelectAll,
|
||||
resetPageInfo
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user