fix: 修复编辑entity setting的mapping初始化key和value位置相反的问题
This commit is contained in:
@@ -362,7 +362,7 @@ export default {
|
||||
entities.forEach(item => {
|
||||
const list = []
|
||||
for (const [key, value] of Object.entries(item.mapping)) {
|
||||
list.push({ entityField: value.toString(), sourceField: key, delFlag: true })
|
||||
list.push({ entityField: key, sourceField: value.toString(), delFlag: true })
|
||||
}
|
||||
list[0].delFlag = false
|
||||
item.list = list
|
||||
|
||||
Reference in New Issue
Block a user