Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈智峰
jinfa-platform
Commits
9984e307
Commit
9984e307
authored
Sep 21, 2020
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:商品详情图片
parent
18dc2e36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
index.tsx
src/pages/lxMall/commodityDetail/index.tsx
+4
-3
No files found.
src/pages/lxMall/commodityDetail/index.tsx
View file @
9984e307
...
...
@@ -399,11 +399,12 @@ const CommodityDetail = (props) => {
commodityPic
:
picItem
}
})
if
(
!
judegeImageExist
(
tempImgList
,
tempCommodityPic
))
{
tempImgList
=
[...
tempImgList
,
...
tempCommodityPic
]
}
// if (judegeImageExist(tempImgList, tempCommodityPic)) {
// }
tempImgList
=
[...
tempImgList
,
...
tempCommodityPic
]
}
console
.
log
(
tempImgList
,
""
)
for
(
let
attrListItem
of
item
.
attributeAndValueList
)
{
if
(
judgeAttrInList
(
tempAttrList
,
attrListItem
.
customerAttribute
.
id
))
{
let
tempAttrListIndex
=
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment