Authored by 梁志锋

Merge branch 'fix/issue' into 'develop'

优化购物车页面为你优选加载的代码

See merge request !75
@@ -25,8 +25,8 @@ var navHammer, @@ -25,8 +25,8 @@ var navHammer,
25 25
26 function needLoadRecommandForYou() { 26 function needLoadRecommandForYou() {
27 return window.isCookiesEnabled() ? 27 return window.isCookiesEnabled() ?
28 - $('.shopping-cart-good').length <= 0 && window.cookie('_yoho-cart-refreshByDelete') !== 'true' :  
29 - $('.shopping-cart-good').length <= 0; 28 + $('.cart-goods').length <= 0 && window.cookie('_yoho-cart-refreshByDelete') !== 'true' :
  29 + $('.cart-goods').length <= 0;
30 } 30 }
31 31
32 if (needLoadRecommandForYou()) { 32 if (needLoadRecommandForYou()) {