Authored by yyq

Merge branch 'feature/newGolbal' into release/5.6

@@ -321,11 +321,11 @@ const getShopList = params => { @@ -321,11 +321,11 @@ const getShopList = params => {
321 } 321 }
322 322
323 // 店铺/品牌的小分类 323 // 店铺/品牌的小分类
324 - _.forEach(value.sort, sortInfo => { 324 + _.forEach(_.get(value, 'sortInfo.sort', []), sortInfo => {
325 _.forEach(_.get(sortInfo, 'sub', []), subSort => { 325 _.forEach(_.get(sortInfo, 'sub', []), subSort => {
326 let sortHref; 326 let sortHref;
327 327
328 - if (value.is_global === 'Y') { 328 + if (value.is_global !== 'Y') {
329 sortHref = helpers.urlFormat('', {misort: subSort.sort_id}, 329 sortHref = helpers.urlFormat('', {misort: subSort.sort_id},
330 value.shop_domain || value.brand_domain); 330 value.shop_domain || value.brand_domain);
331 } else { 331 } else {