feat: 处理field为字符串的修改场景

This commit is contained in:
奔跑的面条 2024-12-23 09:32:16 +08:00
parent 3ae9aac2d9
commit a698191873

View File

@ -235,8 +235,6 @@ const initFieldListHandle = () => {
} }
if (item.mapping === undefined) { if (item.mapping === undefined) {
item.result = DataResultEnum.FAILURE item.result = DataResultEnum.FAILURE
} else if (!isArray(item.mapping)) {
item.mapping = [item.mapping]
} }
fieldList.value.push(item) fieldList.value.push(item)
} }