DESKTOP-USV654P\pc 6 месяцев назад
Родитель
Сommit
ac47b18593
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/views/educational/basicInformation/index.vue

+ 2 - 1
src/views/educational/basicInformation/index.vue

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