Showing
1 changed file
with
4 additions
and
0 deletions
@@ -273,6 +273,10 @@ $(function() { | @@ -273,6 +273,10 @@ $(function() { | ||
273 | tabInit(); | 273 | tabInit(); |
274 | 274 | ||
275 | if (localStorage) { | 275 | if (localStorage) { |
276 | + if (document.referrer && document.referrer.indexOf('activity.yoho.cn') > -1) { | ||
277 | + localStorage.removeItem('changtu1'); | ||
278 | + } | ||
279 | + | ||
276 | // 微信中点击之后,返回跳到指定位置 | 280 | // 微信中点击之后,返回跳到指定位置 |
277 | let totalH, scH; | 281 | let totalH, scH; |
278 | let top = localStorage.changtu1; | 282 | let top = localStorage.changtu1; |
-
Please register or login to post a comment