fix: 修改深拷贝失效的问题
This commit is contained in:
@@ -316,7 +316,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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user