Authored by htoooth

人民币符号修复

@@ -200,8 +200,8 @@ const _getActivityDataByProductBaseInfo = (data) => { @@ -200,8 +200,8 @@ const _getActivityDataByProductBaseInfo = (data) => {
200 200
201 _.get(data, 'promotionBoList', []).forEach(value => { 201 _.get(data, 'promotionBoList', []).forEach(value => {
202 result.push({ 202 result.push({
203 - type: value.promotionType,  
204 - des: value.promotionTitle 203 + type: value.promotionType.replace('¥', '¥'),
  204 + des: value.promotionTitle.replace('¥', '¥')
205 }); 205 });
206 }); 206 });
207 207
@@ -484,7 +484,7 @@ function _getSortNavAsync(smallSortId, gender) { @@ -484,7 +484,7 @@ function _getSortNavAsync(smallSortId, gender) {
484 } 484 }
485 485
486 let navs = []; 486 let navs = [];
487 - let sort = _.head(data.data.sort) || {}; 487 + let sort = _.get(data, 'data.sort[0]', {});
488 488
489 // 一级分类 489 // 一级分类
490 navs.push({ 490 navs.push({