Merge branch 'dev-3.1' of https://git.mesalab.cn/nezha/nezha-fronted into dev-3.2
This commit is contained in:
@@ -251,7 +251,7 @@ export default {
|
|||||||
this.rightBox.chart.show = true
|
this.rightBox.chart.show = true
|
||||||
},
|
},
|
||||||
addChartByTemp () {
|
addChartByTemp () {
|
||||||
this.chart = Object.assign({}, this.blankChartTemp)
|
this.chart = JSON.parse(JSON.stringify(this.blankChartTemp))
|
||||||
this.chart.panelId = this.showPanel.id
|
this.chart.panelId = this.showPanel.id
|
||||||
if (this.from === fromRoute.endpoint) {
|
if (this.from === fromRoute.endpoint) {
|
||||||
this.chart.varType = 2
|
this.chart.varType = 2
|
||||||
|
|||||||
@@ -358,7 +358,7 @@ export default {
|
|||||||
this.rightBox.chart.show = true
|
this.rightBox.chart.show = true
|
||||||
},
|
},
|
||||||
addChartByTemp () {
|
addChartByTemp () {
|
||||||
this.chart = Object.assign({}, this.blankChartTemp)
|
this.chart = JSON.parse(JSON.stringify(this.blankChartTemp))
|
||||||
this.chart.panelId = this.showPanel.id
|
this.chart.panelId = this.showPanel.id
|
||||||
this.rightBox.chartTemp.show = true
|
this.rightBox.chartTemp.show = true
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user