fix: 修改复制chart 表达式未被复制的问题
This commit is contained in:
@@ -417,6 +417,11 @@ export default {
|
|||||||
this.chart.panelId = this.showPanel.id
|
this.chart.panelId = this.showPanel.id
|
||||||
this.chart.panelName = this.showPanel.name
|
this.chart.panelName = this.showPanel.name
|
||||||
this.chart.id = ''
|
this.chart.id = ''
|
||||||
|
this.chart.elements.forEach((item) => {
|
||||||
|
item.id = ''
|
||||||
|
item.chartId = ''
|
||||||
|
delete item.seq
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
this.rightBox.loading = true
|
this.rightBox.loading = true
|
||||||
this.$get('visual/panel/chart/' + data.id).then(res => {
|
this.$get('visual/panel/chart/' + data.id).then(res => {
|
||||||
|
|||||||
Reference in New Issue
Block a user