提交修改

new-exam
dshclm 5 months ago
parent 9828f46c63
commit 47c7e41102

@ -72,8 +72,6 @@
function submitHandler() { function submitHandler() {
if ($.validate.form()) { if ($.validate.form()) {
var data = $("#form-leave-add").serializeArray(); var data = $("#form-leave-add").serializeArray();
var username = $("input[id='username']").val()
data.push({"name": "userName", "value": username});
$.operate.save(prefix + "/add",data); $.operate.save(prefix + "/add",data);
} }
} }

Loading…
Cancel
Save