修复bug

This commit is contained in:
wangsongsole 2022-07-05 13:42:10 +08:00
parent 44bc51bc96
commit 1c99827e94
1 changed files with 13 additions and 15 deletions

View File

@ -260,22 +260,20 @@ export default class adduserinfo extends React.Component {
const obj1 = [] const obj1 = []
const obj2 = [] const obj2 = []
if (picItem.describe_url) { picItem?.describe_url.map((item) => {
picItem?.describe_url.map((item) => { obj1.push({
obj1.push({ src: item,
src: item, id: item,
id: item, type: 'add',
type: 'add', name: picItem.name
name: picItem.name
})
obj2.push({
url: item,
id: item,
type: 'add',
name: picItem.name
})
}) })
} obj2.push({
url: item,
id: item,
type: 'add',
name: picItem.name
})
})
console.log(' picItem =>', picItem) console.log(' picItem =>', picItem)
let quantity = this.state.model.quantity let quantity = this.state.model.quantity