This commit is contained in:
梁灏 2017-11-07 17:54:36 +08:00
parent 84a4a95dbf
commit 9f5a643a16
2 changed files with 6 additions and 0 deletions

View file

@ -111,6 +111,7 @@
if (item.disabled) return;
const index = this.checkedKeys.indexOf(item.key);
index > -1 ? this.checkedKeys.splice(index, 1) : this.checkedKeys.push(item.key);
this.$parent.handleCheckedKeys();
},
updateFilteredData () {
this.showItems = this.data;