Authored by 周少峰

Merge remote-tracking branch 'origin/hotfix/detail-text-error'

... ... @@ -1099,8 +1099,8 @@ const _getMaterialDataBySizeInfo = (sizeInfo) => {
const _getDetailDataBySizeInfo = (sizeInfo) => {
let details = '';
// 详情配图
if (_.has(sizeInfo, 'productIntroBo.phrase')) {
// 详情文字
if (_.has(sizeInfo, 'productDescBo.phrase')) {
details += `${sizeInfo.productDescBo.phrase}<br/>`;
}
... ... @@ -1114,6 +1114,7 @@ const _getDetailDataBySizeInfo = (sizeInfo) => {
let intro = _.get(sizeInfo, 'productIntroBo.productIntro', '');
// 详情配图
_(replacePairs).forEach((value, key)=> {
intro = _.replace(intro, key, value);
});
... ...