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