Commit f32cd26c4ee55ccfccf30be24dea43e6a135fba9

Authored by pengye
1 parent 99461fca

no message

@@ -102,7 +102,6 @@ window.callback = function(res){ @@ -102,7 +102,6 @@ window.callback = function(res){
102 loading =layer.load(1, {shade: [0.1,'#fff'] });//0.1透明度的白色背景 102 loading =layer.load(1, {shade: [0.1,'#fff'] });//0.1透明度的白色背景
103 $.post('{:url("login/index")}',data.field,function(res){ 103 $.post('{:url("login/index")}',data.field,function(res){
104 layer.close(loading); 104 layer.close(loading);
105 - alert(res.code);  
106 if(res.code == 1){ 105 if(res.code == 1){
107 layer.msg(res.msg, {icon: 1, time: 1000}, function(){ 106 layer.msg(res.msg, {icon: 1, time: 1000}, function(){
108 location.href = "{:url('admin/index/index')}"; 107 location.href = "{:url('admin/index/index')}";