소스 검색

Merge pull request #816 from furybean/table-selection-bug

Table: clear selection after change data, fixed #813.
杨奕 8 년 전
부모
커밋
9e2fb770ca
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {