This commit is contained in:
yuping
2023-08-04 18:53:25 +08:00
parent 3b7b408897
commit 8b8d808ce4

View File

@@ -68,7 +68,7 @@ watch(props, () => {
function onLoadData(treeNode) { function onLoadData(treeNode) {
return useArrayRequest(ORG_CHILD_LIST, { keyword: "", orgId: treeNode.id }).then( return useArrayRequest(ORG_CHILD_LIST, { keyword: "", orgId: treeNode.id }).then(
(r) => { (r) => {
treeNode.dataRef.treeChildList = r.data; treeNode.dataRef.treeChildList = r.data.directChildList;
options.value = [...options.value]; options.value = [...options.value];
} }
); );