diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue b/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue index 59bc37310..74724216a 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue @@ -378,6 +378,9 @@ export default { if (this.chart.datasource !== 'metrics' && this.chart.datasource !== 'log') { delete this.chart.elements } + if (!this.chart.groupId || this.chart.groupId == -1) { + this.chart.groupId = '' + } } else { this.rightBox.loading = true this.$get('visual/panel/chart/' + data.id).then(res => { diff --git a/nezha-fronted/src/components/common/rightBox/chart/otherChartConfig.vue b/nezha-fronted/src/components/common/rightBox/chart/otherChartConfig.vue index 914b64dde..6dac0ec3e 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/otherChartConfig.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/otherChartConfig.vue @@ -201,10 +201,6 @@ export default { id: 'topology', name: this.$t('dashboard.panel.chartForm.typeVal.topology.label') }, - { - id: 'hexagon', - name: this.$t('dashboard.panel.chartForm.typeVal.hexagonFigure.label') - }, { id: 'clock', name: this.$t('dashboard.panel.chartForm.typeVal.clock.label') diff --git a/nezha-fronted/src/components/page/dashboard/panel.vue b/nezha-fronted/src/components/page/dashboard/panel.vue index 9080bbe2b..90b14c8b3 100644 --- a/nezha-fronted/src/components/page/dashboard/panel.vue +++ b/nezha-fronted/src/components/page/dashboard/panel.vue @@ -429,6 +429,9 @@ export default { if (this.chart.datasource !== 'metrics' && this.chart.datasource !== 'log') { delete this.chart.elements } + if (!this.chart.groupId || this.chart.groupId == -1) { + this.chart.groupId = '' + } } else { this.rightBox.loading = true this.$get('visual/panel/chart/' + data.id).then(res => {