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

This commit is contained in:
yuyeqianxun 2020-10-10 22:48:21 +08:00 committed by GitHub
parent e8aedefb38
commit 67df9b8c93

View File

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