feat: 树搜索调整

This commit is contained in:
xuziqiang
2024-06-21 15:56:21 +08:00
parent e16ad610e7
commit d4f17c4c02

View File

@@ -137,7 +137,9 @@
fetch(origanizemanage.queryOrgTree, params).then((res) => {
const otherOrg = res.data[0].listOrg;
// 特殊处理
if (res.data[0].orgInfo) {
treeData.value = res.data;
}
otherOrg?.map((item) => {
treeData.value.push({ orgInfo: item } as never);
});