Commit 261e6289 by xueli.xue

模态框隐藏时,表单错误提示清空;

parent 51bfaa41
......@@ -195,7 +195,9 @@ $(function() {
}
});
$("#addModal").on('hide.bs.modal', function () {
$("#addModal .form")[0].reset()
//$("#addModal .form")[0].reset();
addModalValidate.resetForm();
$("#addModal .form .form-group").removeClass("has-error");
});
// 新增-添加参数
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment