Authored by htoooth

change

@@ -22,11 +22,13 @@ @@ -22,11 +22,13 @@
22 [ <a id="signin-url" href="//www.yohobuy.com/signin.html" class="loginbar">请登录</a> ] 22 [ <a id="signin-url" href="//www.yohobuy.com/signin.html" class="loginbar">请登录</a> ]
23 [ <a id="reg-url" href="//www.yohobuy.com/reg.html" class="registbar">免费注册</a> ] 23 [ <a id="reg-url" href="//www.yohobuy.com/reg.html" class="registbar">免费注册</a> ]
24 </li> 24 </li>
25 - <li class="myyoho" id="myYohoBox" data-hung="{{@root.pc.common.disMyYohoHover}}"> 25 + <li class="myyoho" id="myYohoBox">
26 <span class="tag-seprate"></span> 26 <span class="tag-seprate"></span>
27 <a href="//www.yohobuy.com/home?t=1453340799.4986">MY有货</a> 27 <a href="//www.yohobuy.com/home?t=1453340799.4986">MY有货</a>
28 <span class="icon-bottomarrow"></span> 28 <span class="icon-bottomarrow"></span>
29 - <div class="simple-user-center"></div> 29 + {{#unless @root.pc.common.disMyYohoHover}}
  30 + <div class="simple-user-center"></div>
  31 + {{/unless}}
30 </li> 32 </li>
31 <li class="myorder"> 33 <li class="myorder">
32 <span class="tag-seprate"></span> 34 <span class="tag-seprate"></span>
@@ -553,7 +553,7 @@ cartTimer = setInterval(syncCratInfo, 2000); // 定时同步购物车数量 @@ -553,7 +553,7 @@ cartTimer = setInterval(syncCratInfo, 2000); // 定时同步购物车数量
553 }()); 553 }());
554 554
555 fetchUserInfoEvent.add(function() { 555 fetchUserInfoEvent.add(function() {
556 - if (__DEGRADATION_CONFIG.hungMyYoho) { 556 + if ($('.simple-user-center').length === 0) {
557 return; 557 return;
558 } 558 }
559 syncLoginInfo(); 559 syncLoginInfo();