NEZ-741 fix:修改复制面板中的图表报错的问题

This commit is contained in:
zhangyu
2021-06-18 16:57:49 +08:00
parent 2b2a419fd8
commit 0615351836
2 changed files with 31 additions and 24 deletions

View File

@@ -1616,7 +1616,7 @@ export default {
delete copyChart.varId
delete copyChart.varType
copyChart.name = 'Copy_' + copyChart.name
this.$emit('on-edit-chart', copyChart)
this.$emit('on-edit-chart', copyChart, true)
}
},
duplicateChartGroup (chart) {
@@ -1627,7 +1627,7 @@ export default {
delete copyChart.varId
delete copyChart.varType
copyChart.name = 'Copy_' + copyChart.name
this.$emit('on-edit-chart', copyChart)
this.$emit('on-edit-chart', copyChart, true)
}
},
// 编辑图表