forked from github/dataease
fix: 数据集字段存在与方法名一致的情况下会替换掉方法名
This commit is contained in:
parent
4fc5ae248b
commit
cff8b73e30
@ -549,7 +549,7 @@ export default {
|
|||||||
if (name2Auto) {
|
if (name2Auto) {
|
||||||
name2Auto.push(nameIdMap[ele])
|
name2Auto.push(nameIdMap[ele])
|
||||||
}
|
}
|
||||||
name2Id = name2Id.replace(ele, nameIdMap[ele])
|
name2Id = name2Id.replace(`[${ele}]`, `[${nameIdMap[ele]}]`)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
return name2Id
|
return name2Id
|
||||||
|
Loading…
Reference in New Issue
Block a user