diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index a76739c6bf..8b62a745ee 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -2264,6 +2264,9 @@ export default { this.view.tableId = this.changeTable.id // 更换数据集后清空视图字段 post('/chart/field/deleteByChartId/' + this.param.id + '/' + this.panelInfo.id, null).then(response => { + // reset gauge + this.view.customAttr.size.gaugeMinType = 'fix' + this.view.customAttr.size.gaugeMaxType = 'fix' this.calcData(true, 'chart', false) this.initTableData(this.view.tableId, optType) this.closeChangeChart()