duy преди 1 година
родител
ревизия
3b4c8c6558
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      src/views/project/debit/contract/unit.vue
  2. 1 1
      src/views/project/debit/project/unit.vue

+ 1 - 1
src/views/project/debit/contract/unit.vue

@@ -115,7 +115,7 @@ const searchForm = ref({})
 const treeProps = {
     label: 'nodeName',
     children: 'children',
-    isLeaf: 'leaf',
+    isLeaf: 'notExsitChild',
 }
 const ishowTree = ref(true)
 //重新设置树

+ 1 - 1
src/views/project/debit/project/unit.vue

@@ -143,7 +143,7 @@ const searchForm = ref({ current: 1, size: 10, total: 0 })
 const treeProps = {
     label: 'nodeName',
     children: 'children',
-    isLeaf: 'leaf',
+    isLeaf: 'notExsitChild',
 }
 const TreeAutoExpandKeys = ref(getStoreValue('wbsTreeExpandKeys') || [])
 //懒加载的数据