ZaiZai 1 rok temu
rodzic
commit
911c132dc6
1 zmienionych plików z 1 dodań i 1 usunięć
  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 = {};