mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): update
This commit is contained in:
@ -221,10 +221,6 @@ export function getNaiveTableIndex(pagination: PaginationProps, index: number) {
|
||||
return (page - 1) * pageSize + index + 1;
|
||||
}
|
||||
|
||||
export function getNaiveTableRowKey<T extends TableData>(row: T) {
|
||||
return row.id;
|
||||
}
|
||||
|
||||
function isTableColumnHasKey<T>(column: TableColumn<T>): column is NaiveUI.TableColumnWithKey<T> {
|
||||
return Boolean((column as NaiveUI.TableColumnWithKey<T>).key);
|
||||
}
|
||||
|
Reference in New Issue
Block a user