fix tree-node checkbox bug

This commit is contained in:
baiyaaaaa
2016-10-12 23:21:47 +08:00
committed by cinwell.li
parent 58194f78e2
commit 0a8c6af817
2 changed files with 3 additions and 2 deletions

View File

@@ -94,9 +94,9 @@
}
},
handleCheckChange(checked) {
handleCheckChange(ev) {
if (!this.node.indeterminate) {
this.node.setChecked(checked, true);
this.node.setChecked(ev.target.checked, true);
}
}
},