mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 18:00:54 +08:00
fix(cmdb-ui):service tree key (#480)
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user