bug: 海外标准法规,入库时未填写信息,返回编辑页面查看,信息回显错误,应回显为空
This commit is contained in:
@@ -2074,7 +2074,7 @@ export default {
|
|||||||
Object.keys(item.attrInfoMap || {}).forEach((key) => {
|
Object.keys(item.attrInfoMap || {}).forEach((key) => {
|
||||||
item.attrInfoMap[key] = item.attrInfoMap[key] === null ? '' : item.attrInfoMap[key]
|
item.attrInfoMap[key] = item.attrInfoMap[key] === null ? '' : item.attrInfoMap[key]
|
||||||
if (item.attrInfoMap[key] || 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
|
const dynamicFormField = this.sarStandardsInfoEO
|
||||||
|
|||||||
Reference in New Issue
Block a user