pull/109/head
Mr Chen 7 years ago
parent 980996bfe5
commit 13dfae745e
  1. 2
      route/dashboard.py
  2. 2
      static/js/public.js

@ -49,7 +49,7 @@ def code():
@dashboard.route("/check_login")
def checkLogin():
return render_template('default/login.html')
return "true"
@dashboard.route("/login")

@ -1547,7 +1547,7 @@ function tasklist(a){
//检查登陆状态
function check_login(){
$.post('/ajax?action=CheckLogin',{},function(rdata){
$.post('/check_login',{},function(rdata){
if(rdata === true) return;
});
}

Loading…
Cancel
Save