diff --git a/src/components/project/OrgClass.vue b/src/components/project/OrgClass.vue index d010a9a5..544c6cf0 100644 --- a/src/components/project/OrgClass.vue +++ b/src/components/project/OrgClass.vue @@ -24,7 +24,7 @@ :load-data="onLoadData" :tree-data="options" :fieldNames="{ - children: 'treeChildList', + children: 'directChildList', label: 'name', value: 'id', }" @@ -68,7 +68,7 @@ watch(props, () => { function onLoadData(treeNode) { return useArrayRequest(ORG_CHILD_LIST, { keyword: "", orgId: treeNode.id }).then( (r) => { - treeNode.dataRef.treeChildList = r.data; + treeNode.dataRef.directChildList = r.data; options.value = [...options.value]; } );