Browse Source

Table: fix selectAll option at table selection (#1300)

kingwl 8 năm trước cách đây
mục cha
commit
e3ac607938
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      packages/table/src/table.vue

+ 1 - 0
packages/table/src/table.vue

@@ -175,6 +175,7 @@
 
       toggleRowSelection(row, selected) {
         this.store.toggleRowSelection(row, selected);
+        this.store.updateAllSelected();
       },
 
       clearSelection() {