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

This commit is contained in:
梁灏 2018-09-29 14:25:06 +08:00
parent 1d8b4d1374
commit d483c54536

View file

@ -553,6 +553,8 @@
const selection = this.getSelection(); const selection = this.getSelection();
if (status) { if (status) {
this.$emit('on-select-all', selection); this.$emit('on-select-all', selection);
} else {
this.$emit('on-select-all-cancel', selection);
} }
this.$emit('on-selection-change', selection); this.$emit('on-selection-change', selection);
}, },