浏览代码

重定向-

zhouna 3 年之前
父节点
当前提交
d453f90c06
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/js/login.js

+ 1 - 1
src/js/login.js

@@ -67,7 +67,7 @@ function sureLogin(){
           cacheCheckDatas(data.data.selRoles);
          const otherLogoPm = otherLogo?'?adLg=1':'';
          const hideLgPm=hideLogo?'?hideLg=1':'';
-        window.location.href = 'index.html'+hideLgPm+otherLogoPm;
+        window.location.href = '/index.html'+hideLgPm+otherLogoPm;
       }, 600);
     }else{
       $(".divModal").remove()