From 67df9b8c93a26b0edb4f3d5d5c589d355803cea0 Mon Sep 17 00:00:00 2001 From: yuyeqianxun Date: Sat, 10 Oct 2020 22:48:21 +0800 Subject: [PATCH] fix: Repair tree component click to select (#33) --- src/components/Tree/src/BasicTree.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Tree/src/BasicTree.tsx b/src/components/Tree/src/BasicTree.tsx index ac8ccc51..46f3a391 100644 --- a/src/components/Tree/src/BasicTree.tsx +++ b/src/components/Tree/src/BasicTree.tsx @@ -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); },