Commit 5208d25eefa05fca9af536dda3474334039c1222

Authored by pengye
1 parent 63cba24a

no message

... ... @@ -102,8 +102,7 @@ window.callback = function(res){
loading =layer.load(1, {shade: [0.1,'#fff'] });//0.1透明度的白色背景
$.post('{:url("login/index")}',data.field,function(res){
layer.close(loading);
alert(res.code);
/*if(res.code == 1){
if(res.code == 1){
layer.msg(res.msg, {icon: 1, time: 1000}, function(){
location.href = "{:url('admin/index/index')}";
});
... ... @@ -111,7 +110,7 @@ window.callback = function(res){
$('#captcha').val('');
layer.msg(res.msg, {icon: 2, anim: 6, time: 1000});
$('.captcha img').attr('src','{:url("verify")}?id='+Math.random());
}*/
}
});
return false;
});
... ...