feat: 初始化项目管理列表

This commit is contained in:
rd
2025-07-21 12:01:32 +08:00
parent aa7155aa72
commit 9febe14997
14 changed files with 467 additions and 8 deletions

View File

@ -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
};
}