Commit 57e26adf by zhangquan

非空判断sentry处理

1 parent 6d3ec2ab
...@@ -582,7 +582,7 @@ export default { ...@@ -582,7 +582,7 @@ export default {
reimbursementCountiesCode reimbursementCountiesCode
} }
Object.assign(this.editForm, obj) Object.assign(this.editForm, obj)
this.serviceItemsList = itemsList this.serviceItemsList = itemsList || []
this.getAccountInfo(contractNo) this.getAccountInfo(contractNo)
}) })
}, },
......
...@@ -124,7 +124,7 @@ export default { ...@@ -124,7 +124,7 @@ export default {
this.accountForm.objectType = 0 this.accountForm.objectType = 0
} }
if (this.accountForm.accountType !== 1) this.accountForm.accountType = 0 if (this.accountForm.accountType !== 1) this.accountForm.accountType = 0
this.serviceItemsList = serviceItemsList this.serviceItemsList = serviceItemsList || []
// 以下是文件数据 // 以下是文件数据
res.files.forEach(item => { res.files.forEach(item => {
let obj = { url: item.fileUrl, fileType: item.fileType, name: item.fileName, progress: 100 } let obj = { url: item.fileUrl, fileType: item.fileType, name: item.fileName, progress: 100 }
...@@ -157,7 +157,7 @@ export default { ...@@ -157,7 +157,7 @@ export default {
for (let key in this.editForm) { for (let key in this.editForm) {
this.editForm[key] = res[key] || this.editForm[key] this.editForm[key] = res[key] || this.editForm[key]
} }
this.serviceItemsList = serviceItemsList this.serviceItemsList = serviceItemsList || []
this.getAccountInfo(contractNo) this.getAccountInfo(contractNo)
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!