DESKTOP-USV654P\pc 6 mesi fa
parent
commit
ac47b18593
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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();
   };