mirror of https://github.com/veops/cmdb.git
fix(ui): resource search export error
This commit is contained in:
parent
9b778f9bc7
commit
4dfa97d404
|
@ -599,7 +599,7 @@ export default {
|
||||||
|
|
||||||
preferenceAttrList.forEach((attr) => {
|
preferenceAttrList.forEach((attr) => {
|
||||||
if (Array.isArray(attr?.children) && attr?.children?.length) {
|
if (Array.isArray(attr?.children) && attr?.children?.length) {
|
||||||
attr.children = attr.filter((child) => {
|
attr.children = attr.children.filter((child) => {
|
||||||
return !child?.is_reference
|
return !child?.is_reference
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue