浏览代码

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;