From f91cbcf9a998d4136defd85e109f31c5c73e4ed1 Mon Sep 17 00:00:00 2001 From: junjun Date: Thu, 23 Jun 2022 10:00:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A7=86=E5=9B=BE=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/view/CalcChartFieldEdit.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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() }) },