Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
毕凯
7 years ago
Commit
f5d90ce275b1961d3a24e95601faaae3b29f87a0
2 parents
605ade54
ee8a7dc4
Merge branch 'feature/session' into 'gray'
favorite-product-link See merge request
!1028
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
apps/home/models/favorite.js
apps/home/models/favorite.js
View file @
f5d90ce
...
...
@@ -49,16 +49,12 @@ class favoriteIndexModel extends global.yoho.BaseModel {
_
.
forEach
(
list
.
data
.
productList
,
function
(
val
)
{
let
obj
=
{};
// if (empty(val.productSkn)) {
// continue;
// }
if
(
val
.
goodsId
&&
val
.
cnAlphabet
)
{
obj
=
_
.
assign
(
obj
,
{
if
(
val
.
productSkn
)
{
_
.
assign
(
obj
,
{
link
:
config
.
siteUrl
+
'/product/'
+
val
.
productSkn
+
'.html'
// 商品url改版
});
}
else
{
obj
=
_
.
assign
(
obj
,
{
_
.
assign
(
obj
,
{
link
:
''
});
}
...
...
Please
register
or
login
to post a comment