feat: 树搜索调整
This commit is contained in:
@@ -137,7 +137,9 @@
|
||||
fetch(origanizemanage.queryOrgTree, params).then((res) => {
|
||||
const otherOrg = res.data[0].listOrg;
|
||||
// 特殊处理
|
||||
treeData.value = res.data;
|
||||
if (res.data[0].orgInfo) {
|
||||
treeData.value = res.data;
|
||||
}
|
||||
otherOrg?.map((item) => {
|
||||
treeData.value.push({ orgInfo: item } as never);
|
||||
});
|
||||
|
Reference in New Issue
Block a user