fix tree-node checkbox bug

pull/372/head
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

@ -9,6 +9,7 @@
- Popper 重构 vue-popper
- Pagination 修复输入后再点击切换,输入框的值不更新
- Step: 修复自定义 icon 的样式
- 修复 Tree 组件 checkbox 点击失效的问题
### 1.0.0-rc.6

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);
}
}
},