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
杨延青
2018-08-01 11:31:24 +0800
Commit
d05c7081c27212864f8ddb8086aab520d697358c
2 parents
088dc659
8ba9a1fa
Merge branch 'hotfix/bunld' into 'release/8.1'
Hotfix/bunld See merge request
!1498
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
apps/product/models/detail.js
apps/product/models/new-detail.js
public/js/product/list/product-list-with-filter.js
apps/product/models/detail.js
View file @
d05c708
...
...
@@ -730,7 +730,7 @@ module.exports = class extends global.yoho.BaseModel {
this
.
_getFavorite
(
result
.
product_id
,
data
.
uid
)
];
if
(
data
.
bundleType
)
{
if
(
+
data
.
bundleType
)
{
apiArray
.
push
(
this
.
ctx
.
req
.
ctx
(
bundle
).
getBundleBySkn
(
data
.
productSkn
));
}
...
...
apps/product/models/new-detail.js
View file @
d05c708
...
...
@@ -111,7 +111,7 @@ module.exports = class extends global.yoho.BaseModel {
this
.
queryPromotion
(
skn
),
// 4 促销活动
];
if
(
params
.
bundleType
)
{
if
(
+
params
.
bundleType
)
{
apiArray
.
push
(
this
.
ctx
.
req
.
ctx
(
bundle
).
getBundleBySkn
(
skn
));
}
...
...
public/js/product/list/product-list-with-filter.js
View file @
d05c708
...
...
@@ -226,7 +226,7 @@ class ProductListWithFilter {
let
$divide
=
$
(
'.search-divide'
);
$divide
.
text
(
'加载失败,点击重试'
);
$divide
.
one
(
'click'
,
function
()
{
$divide
.
one
(
'click'
,
()
=>
{
$divide
.
text
(
'正在加载...'
);
this
.
getGoodsList
();
});
...
...
Please
register
or
login
to post a comment