js 页面跳转的时候不要加上 return

//直接上级,若是没有员工填报的话,就是默认主页是 待办事项里面。 
    if(typeof(roleNames) != "undefined" && roleNames!=="" && roleNames.indexOf("【经理工做台】")!=-1){
        window.location.href = _ctxPath +"/toDoStController/toDoStList.do";
        //return;跳转的时候不要 加上return 会跳转不成功的。
    }io

 

会跳转不成功的。List

相关文章
相关标签/搜索