Authored by 毕凯

Merge branch 'feature/guangDetail' into 'release/6.1'

优化判断



See merge request !886
@@ -345,11 +345,7 @@ const processArticleDetail = (articleContent, isApp, gender, isWeixin, isqq, isW @@ -345,11 +345,7 @@ const processArticleDetail = (articleContent, isApp, gender, isWeixin, isqq, isW
345 } 345 }
346 346
347 // 改变关联商品显示形式,false:默认单列多行,true:改成俩列多行 347 // 改变关联商品显示形式,false:默认单列多行,true:改成俩列多行
348 - let changeDisplayType = false;  
349 -  
350 - if (_.get(value, 'goods.display_template')) {  
351 - changeDisplayType = _.get(value, 'goods.display_template', '1') === '2';  
352 - } 348 + let changeDisplayType = _.get(value, 'goods.display_template') === '2';
353 349
354 // 相关商品 350 // 相关商品
355 if (_.get(value, 'goods.data', false) || 351 if (_.get(value, 'goods.data', false) ||