Commit a354ec81 authored by agping's avatar agping

优化

parent 31134c23
......@@ -78,6 +78,7 @@ define (['doT', 'text!temp/menu_template_tpl.html','ckfinder','ckfinderStart', '
if(!user_info_obj){
alert('登录失效,请您重新登录');
// window.location.href="login.html";
window.top.location.href="login.html";
}
$ ("#menu_bar").append (template);
if (user_info_obj) {
......
......@@ -9,6 +9,7 @@ function checkLogin(){
if(data.code == 300){
alert('登录失效,请您重新登录');
// window.location.href="login.html";
window.top.location.href="login.html";
}
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment