fix: 计算字段报错 name变id

This commit is contained in:
dataeaseShu 2022-06-22 16:41:13 +08:00
parent 91381c3807
commit 1fe36f5132

View File

@ -382,8 +382,7 @@ export default {
this.fieldForm.tableId = this.param.id this.fieldForm.tableId = this.param.id
this.fieldForm.columnIndex = this.tableFields.dimensionList.length + this.tableFields.quotaList.length this.fieldForm.columnIndex = this.tableFields.dimensionList.length + this.tableFields.quotaList.length
} }
this.fieldForm.originName = this.setNameIdTrans('name', 'id', originName) post('/dataset/field/save', {...this.fieldForm, originName: this.setNameIdTrans('name', 'id', originName) }).then(response => {
post('/dataset/field/save', this.fieldForm).then(response => {
this.closeCalcField() this.closeCalcField()
}) })
}, },