소스 검색

feat:路由跳转

wangxiaogang 3 년 전
부모
커밋
0dd8e5feec
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/web/staticres/public-pc/js/pc-bottom.js

+ 1 - 1
src/web/staticres/public-pc/js/pc-bottom.js

@@ -198,7 +198,7 @@ $(window).on('click', function (e) {
         openLoginDig()
         return
       }
-      location.href = shunt.url + '&mini=0'
+      window.location.href = shunt.url + '&mini=0'
     }
     $(".icon-badge-number").removeAttr('data-badge-number');
     var href = window.location.href;