diff --git a/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue b/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue index 04a3e10b7..bf2945f95 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue @@ -580,6 +580,11 @@ export default { result: '' } } + if (obj.type === 'group' && !obj.param.repeat) { + obj.param.repeat = { + variable: '' + } + } // this.editChart.varType = 1 if (obj.param.enable.legend && !obj.param.legend) { obj.param.legend = { placement: 'bottom', values: [], show: true } diff --git a/nezha-fronted/src/components/common/rightBox/chart/otherChartConfig.vue b/nezha-fronted/src/components/common/rightBox/chart/otherChartConfig.vue index 159ebc567..3ed9642d7 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/otherChartConfig.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/otherChartConfig.vue @@ -247,6 +247,46 @@ + +