Authored by 李靖

优化判断

... ... @@ -345,11 +345,7 @@ const processArticleDetail = (articleContent, isApp, gender, isWeixin, isqq, isW
}
// 改变关联商品显示形式,false:默认单列多行,true:改成俩列多行
let changeDisplayType = false;
if (_.get(value, 'goods.display_template')) {
changeDisplayType = _.get(value, 'goods.display_template', '1') === '2';
}
let changeDisplayType = _.get(value, 'goods.display_template') === '2';
// 相关商品
if (_.get(value, 'goods.data', false) ||
... ...