Skip to content

Commit

Permalink
fix: Repair tree component click to select (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyeqianxun authored Oct 10, 2020
1 parent e8aedef commit 67df9b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Tree/src/BasicTree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export default defineComponent({
state.selectedKeys = v;
emit('update:selectedKeys', v);
},
check: (v: CheckKeys) => {
onCheck: (v: CheckKeys) => {
state.checkedKeys = v;
emit('update:value', v);
},
Expand Down

0 comments on commit 67df9b8

Please sign in to comment.