fix(cmdb-ui):service tree key (#480)

This commit is contained in:
dagongren 2024-04-17 20:42:16 +08:00 committed by GitHub
parent 27e9919198
commit df54244ff1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -997,8 +997,8 @@ export default {
return
}
const treeData = []
const _treeKeys = _.cloneDeep(this.treeKeys)
facet.forEach((item) => {
const _treeKeys = _.cloneDeep(this.treeKeys)
_treeKeys.push(item.ciId + '%' + item.typeId + '%' + `{"${item.unique}":"${item.uniqueValue}"}`)
treeData.push({
title: item.showName ? item.showNameValue : item.uniqueValue,