Commit 0a8c6af8 authored by baiyaaaaa's avatar baiyaaaaa Committed by cinwell.li

fix tree-node checkbox bug

parent 58194f78
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
- Popper 重构 vue-popper - Popper 重构 vue-popper
- Pagination 修复输入后再点击切换,输入框的值不更新 - Pagination 修复输入后再点击切换,输入框的值不更新
- Step: 修复自定义 icon 的样式 - Step: 修复自定义 icon 的样式
- 修复 Tree 组件 checkbox 点击失效的问题
### 1.0.0-rc.6 ### 1.0.0-rc.6
......
...@@ -94,9 +94,9 @@ ...@@ -94,9 +94,9 @@
} }
}, },
handleCheckChange(checked) { handleCheckChange(ev) {
if (!this.node.indeterminate) { if (!this.node.indeterminate) {
this.node.setChecked(checked, true); this.node.setChecked(ev.target.checked, true);
} }
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment