Authored by 郭成尧

'最新'

@@ -448,7 +448,11 @@ exports.handleSaleOptsData = (params, total, extra) => { @@ -448,7 +448,11 @@ exports.handleSaleOptsData = (params, total, extra) => {
448 } else { 448 } else {
449 opt.name = '最新'; 449 opt.name = '最新';
450 opt.hasSortOrient = true; 450 opt.hasSortOrient = true;
  451 + if (_.isEmpty(params.order) || params.order === 's_t_desc') {
451 opt.active = true; 452 opt.active = true;
  453 + } else {
  454 + opt.active = false;
  455 + }
452 opt.desc = true; 456 opt.desc = true;
453 } 457 }
454 break; 458 break;