This commit is contained in:
zhangds 2022-07-15 11:02:43 +08:00
commit 26caf46865
3 changed files with 7 additions and 7 deletions

View File

@ -13,7 +13,7 @@
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
--> -->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<script src="http://lsxdemall.oss-cn-beijing.aliyuncs.com/commonproductlogo/goods_new_v2.js?v4"> <script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/commonproductlogo/goods_new_v2.js?v4">
</script> </script>
<!-- <!--

View File

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

View File

@ -256,15 +256,15 @@ export default class adduserinfo extends React.Component {
const obj1 = [] const obj1 = []
const obj2 = [] const obj2 = []
picItem?.describe_url.map((item) => { picItem?.describe_url.map((item, index) => {
obj1.push({ obj1.push({
src: item, src: item,
name: 'xxx.png', name: item + index,
id: item id: item
}) })
obj2.push({ obj2.push({
url: item, url: item,
name: 'xxx.png', name: item + index,
id: item id: item
}) })
}) })