This commit is contained in:
2023-01-06 15:49:40 +08:00
parent f6b3f2f323
commit 461bd6ba85
26 changed files with 1219 additions and 573 deletions

View File

@@ -109,7 +109,7 @@ export default {
},
formatter: (e) => {
let alarmInfo = ''
e[0].data.sRule.forEach(item=>{
e[0].data.sRule?.forEach(item=>{
alarmInfo += this.ruleList[item - 1]+'<br/>'
})
return `
@@ -572,6 +572,8 @@ export default {
},
],
};
console.log(this.mrGraphEntity)
console.log(this.lowLine[this.lineIndex].rules)
this.mrGraphEntity.list?.forEach((item, index) => {
if (item[this.lowLine[this.lineIndex].rules].length) {
option.visualMap[1].pieces.push({