main
kgdxpr 1 year ago
parent 6b3d8fe6f8
commit 9741a4212b

@ -4736,6 +4736,12 @@ layui.config({ base: './ayq/modules/' }).define(["layer", 'flow', "laytpl", "ele
}
});
$(document).on('keydown', 'input', function(e) {
if (e.which == 13) {
e.preventDefault();
}
});
$("#formSave").on('click', function () {
if (options.data.length > 0) {
window.localStorage.setItem('form_json', JSON.stringify(options.data));

Loading…
Cancel
Save