mirror of https://github.com/veops/cmdb.git
fix(cmdb-ui):service tree key (#480)
This commit is contained in:
parent
27e9919198
commit
df54244ff1
|
@ -997,8 +997,8 @@ export default {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const treeData = []
|
const treeData = []
|
||||||
const _treeKeys = _.cloneDeep(this.treeKeys)
|
|
||||||
facet.forEach((item) => {
|
facet.forEach((item) => {
|
||||||
|
const _treeKeys = _.cloneDeep(this.treeKeys)
|
||||||
_treeKeys.push(item.ciId + '%' + item.typeId + '%' + `{"${item.unique}":"${item.uniqueValue}"}`)
|
_treeKeys.push(item.ciId + '%' + item.typeId + '%' + `{"${item.unique}":"${item.uniqueValue}"}`)
|
||||||
treeData.push({
|
treeData.push({
|
||||||
title: item.showName ? item.showNameValue : item.uniqueValue,
|
title: item.showName ? item.showNameValue : item.uniqueValue,
|
||||||
|
|
Loading…
Reference in New Issue