关于layui:00041layui-表格table-搜索时翻页参数重置为1

40次阅读

共计 258 个字符,预计需要花费 1 分钟才能阅读完成。

top.layui.form.on('submit(myOrdersList-search)', function(data){
            var field = data.field;
            table.reload('myOrdersListTable', {where: $.extend({page:1},field)
            });
            search_field = field;
            top.layui.layer.close(top.layui.admin.popup.index);
        });

要害代码:

where: $.extend({page:1},field)

正文完
 0