Commit d483c54536a3d58763dd08edbec66b57de094367

Authored by 梁灏
1 parent 1d8b4d13

Table add on-select-all-cancel event, close #4601

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
src/components/table/table.vue
... ... @@ -553,6 +553,8 @@
553 553 const selection = this.getSelection();
554 554 if (status) {
555 555 this.$emit('on-select-all', selection);
  556 + } else {
  557 + this.$emit('on-select-all-cancel', selection);
556 558 }
557 559 this.$emit('on-selection-change', selection);
558 560 },
... ...