企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
``` <form class="layui-form" action=""> <div class="layui-form-item"> <div class="layui-input-block"> <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button> </div> </div> </form> <script> //Demo layui.use('form', function(){ var form = layui.form; //监听提交 form.on('submit(formDemo)', function(data){ $.post( "getArrange", $(data.form).serialize(), function (obj) { if (obj.code == 1) { layer.msg(obj.msg, {time: 1500}, function () { window.location.href = 'arrange_remove'; }); } else { layer.msg(obj.msg, {time: 1500, anim: 6}); } } ); return false; }); }); </script> ———————————————— 版权声明:本文为CSDN博主「韩淼燃」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/weixin_36691991/article/details/94623530 ```