NEZ-2706 fix: Endpoints保存二级页面Metric图表时Group出现意外字符

This commit is contained in:
zhangyu
2023-03-16 13:56:24 +08:00
parent 804aaba7c4
commit a5c8d3958a

View File

@@ -376,6 +376,9 @@ export default {
chart.panelName = '' chart.panelName = ''
this.chart = chart this.chart = chart
this.graphShow = false this.graphShow = false
if (!this.chart.groupId) {
this.chart.groupId = undefined
}
this.$store.dispatch('dispatchEditChart', { this.$store.dispatch('dispatchEditChart', {
chart: this.chart, chart: this.chart,
type: 'add' type: 'add'