Explorar o código

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

yuyeqianxun %!s(int64=4) %!d(string=hai) anos
pai
achega
67df9b8c93
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/Tree/src/BasicTree.tsx

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