فهرست منبع

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

furybean 8 سال پیش
والد
کامیت
ae1c9252c9
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) {