mirror of
https://github.com/yangzongzhuan/RuoYi.git
synced 2025-10-28 00:12:05 +00:00
14 lines
256 B
Plaintext
14 lines
256 B
Plaintext
|
|
$("#form-${classname}-add").validate({
|
||
|
|
rules:{
|
||
|
|
xxxx:{
|
||
|
|
required:true,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
submitHandler:function(form){
|
||
|
|
add();
|
||
|
|
}
|
||
|
|
});
|
||
|
|
|
||
|
|
function add() {
|
||
|
|
_ajax_post("/${moduleName}/${classname}/save", $('#form-${classname}-add').serialize());
|
||
|
|
}
|