mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-28 05:39:34 +08:00
fix: Repair tree component click to select (#33)
This commit is contained in:
@@ -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);
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user