|
@@ -179,7 +179,7 @@ const submitFormSuccess = (response: any) => {
|
|
|
text += '图片名称:' + specimenInfodata + '、'
|
|
|
}
|
|
|
}
|
|
|
- if(JSON.stringify(data.failureSpecimenImages) != '{}') {
|
|
|
+ if(JSON.stringify(data.failureSpecimenImages) != '{}' &&data.failureSpecimenImages != null) {
|
|
|
text = '图片上传失败数量:' + Object.keys(data.failureSpecimenImages).length + ';'
|
|
|
for (let specimenInfodata of data.failureSpecimenImages) {
|
|
|
text += '< ' + specimenInfodata + ': ' + data.failureSpecimenImages[specimenInfodata] + ' >'
|