修改admin的username字段长度用户添加与保存与IE11兼容
This commit is contained in:
1 parent
22c866253e
commit
f0bd8ead5d
7 files changed
+128
-46
No files matched your search
@@ -62,22 +62,16 @@ $(function(){
|
||||
success:"valid",
|
||||
|
||||
submitHandler:function(form){
|
||||
$(form).ajaxSubmit(
|
||||
|
||||
{
|
||||
dataType: "json",
|
||||
success: function(data){
|
||||
layer.alert(data.msg);
|
||||
|
||||
},
|
||||
error: function(data){
|
||||
layer.alert('保存信息失败');
|
||||
}
|
||||
}
|
||||
);
|
||||
var index = parent.layer.getFrameIndex(window.name);
|
||||
//parent.$('.btn-refresh').click();
|
||||
// parent.layer.close(index);
|
||||
$(form).ajaxSubmit({
|
||||
dataType: "json",
|
||||
success: function(data){
|
||||
layer.alert(data.msg);
|
||||
window.parent.location.reload();
|
||||
},
|
||||
error: function(data){
|
||||
layer.alert('保存信息失败');
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user