Authored by 杨延青

Merge branch 'hotfix/bunld' into 'release/8.1'

Hotfix/bunld



See merge request !1498
... ... @@ -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));
}
... ...
... ... @@ -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));
}
... ...
... ... @@ -226,7 +226,7 @@ class ProductListWithFilter {
let $divide = $('.search-divide');
$divide.text('加载失败,点击重试');
$divide.one('click', function() {
$divide.one('click', () => {
$divide.text('正在加载...');
this.getGoodsList();
});
... ...