Authored by yyq

set active

... ... @@ -801,6 +801,7 @@ module.exports = class extends global.yoho.BaseModel {
if (!params.price) {
tabs = _.get(yield cartApi.getTogetherProductPriceTabAsync(), 'data', []);
_.set(tabs, '[0].active', true);
}
let price = params.price || _.get(tabs, '[0].price', '0,300');
... ...