bug: 海外标准法规,入库时未填写信息,返回编辑页面查看,信息回显错误,应回显为空

This commit is contained in:
fanlin
2021-07-26 16:06:45 +08:00
parent d08da22901
commit 2dd4b3e863
@@ -2074,7 +2074,7 @@ export default {
Object.keys(item.attrInfoMap || {}).forEach((key) => {
item.attrInfoMap[key] = item.attrInfoMap[key] === null ? '' : item.attrInfoMap[key]
if (item.attrInfoMap[key] || item.attrInfoMap[key] === '') {
this.$set(this.sarStandardsInfoEO, key, item.attrInfoMap[key])
this.$set(this.sarStandardsInfoEO, key, item.attrInfoMap[key] === '[]' ? '' : item.attrInfoMap[key])
}
})
const dynamicFormField = this.sarStandardsInfoEO