Commit 63cba24aa029e54857d5ed03d18a3d536eed65ca

Authored by pengye
1 parent 80c8fa2e

no message

... ... @@ -102,7 +102,8 @@ 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);
if(res.code == 1){
alert(res.code);
/*if(res.code == 1){
layer.msg(res.msg, {icon: 1, time: 1000}, function(){
location.href = "{:url('admin/index/index')}";
});
... ... @@ -110,7 +111,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;
});
... ...