mirror of
https://github.com/dataease/dataease.git
synced 2026-06-12 16:31:11 +08:00
fix: 使用数据库数据集新增计算字段,如果点击引用字段输入框中有信息,保存时会提示字段表达式语法错误。 #6919
This commit is contained in:
@@ -535,7 +535,7 @@ export default {
|
||||
},
|
||||
setNameIdTrans(from, to, originName, name2Auto) {
|
||||
let name2Id = originName
|
||||
const nameIdMap = [...this.dimensionData, ...this.quotaData].reduce(
|
||||
const nameIdMap = [...this.tableFields.dimensionList, ...this.tableFields.quotaList].reduce(
|
||||
(pre, next) => {
|
||||
pre[next[from]] = next[to]
|
||||
return pre
|
||||
|
||||
Reference in New Issue
Block a user