Merge remote-tracking branch 'origin/user-modify' into dev0731

This commit is contained in:
yujicun
2023-08-05 15:08:39 +08:00

View File

@@ -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.directChildList;
treeNode.dataRef.directChildList = r.data;
options.value = [...options.value];
}
);