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 7d1a05e487
commit f317e24ae8

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,