Commit 67df9b8c authored by yuyeqianxun's avatar yuyeqianxun Committed by GitHub

fix: Repair tree component click to select (#33)

parent e8aedefb
...@@ -250,7 +250,7 @@ export default defineComponent({ ...@@ -250,7 +250,7 @@ export default defineComponent({
state.selectedKeys = v; state.selectedKeys = v;
emit('update:selectedKeys', v); emit('update:selectedKeys', v);
}, },
check: (v: CheckKeys) => { onCheck: (v: CheckKeys) => {
state.checkedKeys = v; state.checkedKeys = v;
emit('update:value', v); emit('update:value', v);
}, },
......
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