Authored by 王水玲

商品组预告修改

... ... @@ -104,7 +104,7 @@ class featureModel extends global.yoho.BaseModel {
}
});
if (effectPlan.length && time > effectPlan[0].show_begin_time && effectPlan[0].show_status === '1') { // eslint-disable-line
if (effectPlan.length && time > effectPlan[0].show_begin_time && effectPlan[0].show_status === 1) { // eslint-disable-line
pro.curPlanPrice = effectPlan[0].current_saleprice;
}
}
... ...
... ... @@ -38,7 +38,7 @@ let _getProduct = function(o) {
}
});
if (effectPlan.length && time > effectPlan[0].show_begin_time && effectPlan[0].show_status === '1') { // eslint-disable-line
if (effectPlan.length && time > effectPlan[0].show_begin_time && effectPlan[0].show_status === 1) { // eslint-disable-line
o.curPlanPrice = effectPlan[0].current_saleprice;
_.assign(res, {curPlanPrice: effectPlan[0].current_saleprice});
... ...