模态框隐藏时,表单错误提示清空;
This commit is contained in:
parent
51bfaa4131
commit
261e628919
|
@ -195,7 +195,9 @@ $(function() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$("#addModal").on('hide.bs.modal', function () {
|
$("#addModal").on('hide.bs.modal', function () {
|
||||||
$("#addModal .form")[0].reset()
|
//$("#addModal .form")[0].reset();
|
||||||
|
addModalValidate.resetForm();
|
||||||
|
$("#addModal .form .form-group").removeClass("has-error");
|
||||||
});
|
});
|
||||||
|
|
||||||
// 新增-添加参数
|
// 新增-添加参数
|
||||||
|
|
Loading…
Reference in New Issue