数组图片稽查校验修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
eaf856a755
commit
a56b536e95
|
@ -866,7 +866,7 @@ export default {
|
|||
// 数组图片
|
||||
if (v.DataType === 'ArrayImage') {
|
||||
let objArr = [], upObjArr = []
|
||||
if (obj[v.Code] && obj[v.Code].length > 0) {
|
||||
if (obj && obj[v.Code] && obj[v.Code].length > 0) {
|
||||
obj[v.Code].forEach(item => {
|
||||
if (item[v.ChildDataValue]) {
|
||||
objArr.push(item[v.ChildDataValue])
|
||||
|
@ -874,7 +874,7 @@ export default {
|
|||
|
||||
})
|
||||
}
|
||||
if (upObj[v.Code] && upObj[v.Code].length > 0) {
|
||||
if (upObj && upObj[v.Code] && upObj[v.Code].length > 0) {
|
||||
upObj[v.Code].forEach(item => {
|
||||
if (item[v.ChildDataValue]) {
|
||||
upObjArr.push(item[v.ChildDataValue])
|
||||
|
|
Loading…
Reference in New Issue