Skip to content

Commit 9998ae2

Browse files
authored
Merge pull request dataease#2473 from dataease/pr@dev_caculate_filed_save
fix: 计算字段报错 name变id
2 parents a6e6f20 + 1fe36f5 commit 9998ae2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

frontend/src/views/dataset/data/CalcFieldEdit.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,7 @@ export default {
382382
this.fieldForm.tableId = this.param.id
383383
this.fieldForm.columnIndex = this.tableFields.dimensionList.length + this.tableFields.quotaList.length
384384
}
385-
this.fieldForm.originName = this.setNameIdTrans('name', 'id', originName)
386-
post('/dataset/field/save', this.fieldForm).then(response => {
385+
post('/dataset/field/save', {...this.fieldForm, originName: this.setNameIdTrans('name', 'id', originName) }).then(response => {
387386
this.closeCalcField()
388387
})
389388
},

0 commit comments

Comments
 (0)