Browse Source

feat:路由跳转

wangxiaogang 3 năm trước cách đây
mục cha
commit
0dd8e5feec
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;