chenweida пре 7 година
родитељ
комит
5c9149d1e3
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      svr/svr-manage/src/main/resources/webapp/common/js/util/util.js

+ 2 - 2
svr/svr-manage/src/main/resources/webapp/common/js/util/util.js

@ -117,7 +117,7 @@ function getUserCode() {
    var code = window.localStorage.getItem("userCode");
    if (!code) {
        alert("请重新登陆")
        window.location.href = server+'/login/login.jsp';
        window.location.href = server+'/login/login.html';
    }
    return code
}
@ -133,6 +133,6 @@ function setUserCode(code) {
function isLogin(data){
    if(data.errorCode==not_login){
         alert("请重新登陆")
         window.location.href = server+'/login/login.jsp';
         window.location.href = server+'/login/login.html';
    }
}