diff --git a/frontend/src/views/chart/view/CalcChartFieldEdit.vue b/frontend/src/views/chart/view/CalcChartFieldEdit.vue index 13582385d8..0d65414543 100644 --- a/frontend/src/views/chart/view/CalcChartFieldEdit.vue +++ b/frontend/src/views/chart/view/CalcChartFieldEdit.vue @@ -427,8 +427,7 @@ export default { this.fieldForm.columnIndex = 0 this.fieldForm.chartId = this.param.id } - this.fieldForm.originName = this.setNameIdTrans('name', 'id', originName) - post('/chart/field/save/' + this.panelInfo.id, this.fieldForm).then(response => { + post('/chart/field/save/' + this.panelInfo.id, { ...this.fieldForm, originName: this.setNameIdTrans('name', 'id', originName) }).then(response => { this.closeCalcField() }) },