Merge branch 'dev-3.1' of https://git.mesalab.cn/nezha/nezha-fronted into dev-3.2

This commit is contained in:
zhangyu
2021-12-08 15:15:50 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -358,7 +358,7 @@ export default {
this.rightBox.chart.show = true
},
addChartByTemp () {
this.chart = Object.assign({}, this.blankChartTemp)
this.chart = JSON.parse(JSON.stringify(this.blankChartTemp))
this.chart.panelId = this.showPanel.id
this.rightBox.chartTemp.show = true
},