修复商品不能删除问题
This commit is contained in:
parent
e7baf6db85
commit
6724462545
|
@ -260,18 +260,18 @@ export default class adduserinfo extends React.Component {
|
|||
const obj1 = []
|
||||
const obj2 = []
|
||||
|
||||
picItem?.describe_url.map((item) => {
|
||||
picItem?.describe_url.map((item, index) => {
|
||||
obj1.push({
|
||||
src: item,
|
||||
id: item,
|
||||
type: 'add',
|
||||
name: picItem.name
|
||||
name: picItem.name + index
|
||||
})
|
||||
obj2.push({
|
||||
url: item,
|
||||
id: item,
|
||||
type: 'add',
|
||||
name: picItem.name
|
||||
name: picItem.name + index
|
||||
})
|
||||
})
|
||||
console.log(' picItem =>', picItem)
|
||||
|
|
|
@ -256,15 +256,15 @@ export default class adduserinfo extends React.Component {
|
|||
const obj1 = []
|
||||
const obj2 = []
|
||||
|
||||
picItem?.describe_url.map((item) => {
|
||||
picItem?.describe_url.map((item, index) => {
|
||||
obj1.push({
|
||||
src: item,
|
||||
name: 'xxx.png',
|
||||
name: item + index,
|
||||
id: item
|
||||
})
|
||||
obj2.push({
|
||||
url: item,
|
||||
name: 'xxx.png',
|
||||
name: item + index,
|
||||
id: item
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue