ZaiZai 1 년 전
부모
커밋
911c132dc6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pages/image/position.vue

+ 1 - 1
pages/image/position.vue

@@ -75,7 +75,7 @@ const getAllLoad = async (node, resolve) => {
 //树节点被点击
 const treeItem = ref({})
 const nodeAllTap = ({data}) => {
-    if (data?.leaf) {
+    if (data?.notExsitChild) {
         treeItem.value = getObjValue(data);
     } else {
         treeItem.value = {};