Merge branch 'dev-3.4' of git.mesalab.cn:nezha/nezha-fronted into dev-3.5
This commit is contained in:
@@ -469,7 +469,14 @@ export default {
|
||||
case 'logs': {
|
||||
this.chartData = []
|
||||
elements.forEach((element, index) => {
|
||||
this.chartData.push(this.dataJson[this.chartInfo.id + '_' + index].data.result)
|
||||
const data = this.dataJson[this.chartInfo.id + '_' + index].data.result.map(item => {
|
||||
this.allDataLength++
|
||||
return {
|
||||
...item,
|
||||
elements: element
|
||||
}
|
||||
})
|
||||
this.chartData.push(data)
|
||||
})
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user