mirror of
https://github.com/yangzongzhuan/RuoYi.git
synced 2025-10-20 04:27:41 +00:00
14 lines
261 B
Plaintext
14 lines
261 B
Plaintext
$("#form-${classname}-add").validate({
|
|
rules:{
|
|
xxxx:{
|
|
required:true,
|
|
},
|
|
},
|
|
submitHandler:function(form){
|
|
add();
|
|
}
|
|
});
|
|
|
|
function add() {
|
|
_ajax_save(ctx + "${moduleName}/${classname}/save", $('#form-${classname}-add').serialize());
|
|
} |