소스 검색

重定向-

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()