ZaiZai 1 year ago
parent
commit
7a58b1ce3d
1 changed files with 5 additions and 0 deletions
  1. 5 0
      components/hc-tree/tree-node.vue

+ 5 - 0
components/hc-tree/tree-node.vue

@@ -180,4 +180,9 @@ const setParentCheck = (nodes) => {
         setParentCheck(nodes.parentNodes)
     }
 }
+
+//导出方法函数
+defineExpose({
+    nodeTap,
+})
 </script>