Explorar o código

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

furybean %!s(int64=8) %!d(string=hai) anos
pai
achega
ae1c9252c9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {