Merge pull request #6947 from dataease/pr@dev_one_dot_x

Pr@dev one dot x
This commit is contained in:
dataeaseShu 2023-11-30 17:45:14 +08:00 committed by GitHub
commit 4570877539
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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