fix: admin can not delete own

This commit is contained in:
jialin
2025-10-23 17:09:30 +08:00
parent a815e71bfe
commit bf57290197
12 changed files with 57 additions and 18 deletions
+3
View File
@@ -41,6 +41,9 @@ export default function useTableRowSelection() {
selectedRowKeys,
selectedRows,
enableSelection: true,
getCheckboxProps: (record: Record<string, any>) => ({
disabled: record.disabled
}),
clearSelections,
onChange: onSelectChange,
removeSelectedKeys,