Przeglądaj źródła

Table: clear selection after change data, fixed #813.

furybean 8 lat temu
rodzic
commit
ae1c9252c9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/table/src/table-store.js

+ 1 - 1
packages/table/src/table-store.js

@@ -92,7 +92,7 @@ TableStore.prototype.mutations = {
     const selection = states.selection;
 
     if (!states.reserveSelection) {
-      states.isAllSelected = false;
+      this.clearSelection();
     } else {
       const rowKey = states.rowKey;
       if (rowKey) {