diff --git a/nezha-fronted/src/components/common/table/special/endpointQueryTab.vue b/nezha-fronted/src/components/common/table/special/endpointQueryTab.vue index 7e04c572f..042da9a2f 100644 --- a/nezha-fronted/src/components/common/table/special/endpointQueryTab.vue +++ b/nezha-fronted/src/components/common/table/special/endpointQueryTab.vue @@ -376,6 +376,9 @@ export default { chart.panelName = '' this.chart = chart this.graphShow = false + if (!this.chart.groupId) { + this.chart.groupId = undefined + } this.$store.dispatch('dispatchEditChart', { chart: this.chart, type: 'add'