|
@@ -26,7 +26,7 @@
|
|
|
const [registerStudentImportModal, { openModal: openStudentImportModal }] = useModal();
|
|
|
const [registerDivisionModal, { openModal: openDivisionModal }] = useModal();
|
|
|
|
|
|
- const [registerTable, { reload, getSelectRows }] = useTable({
|
|
|
+ const [registerTable, { reload, getSelectRows, clearSelectedRowKeys }] = useTable({
|
|
|
api: getBaseNewStudentPage,
|
|
|
title: '新生列表',
|
|
|
rowKey: 'id',
|
|
@@ -74,6 +74,7 @@
|
|
|
}
|
|
|
|
|
|
const handleSuccess = async () => {
|
|
|
+ clearSelectedRowKeys();
|
|
|
await reload();
|
|
|
};
|
|
|
|