diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js index 9ba44cbe8..0e204152c 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js @@ -163,6 +163,7 @@ var table = { }, // 查询条件 queryParams: function(params) { + table.set(); var curParams = { // 传递参数查询参数 pageSize: params.limit, diff --git a/ruoyi-admin/src/main/resources/templates/demo/table/multi.html b/ruoyi-admin/src/main/resources/templates/demo/table/multi.html index a503ec95d..949077714 100644 --- a/ruoyi-admin/src/main/resources/templates/demo/table/multi.html +++ b/ruoyi-admin/src/main/resources/templates/demo/table/multi.html @@ -86,6 +86,7 @@ $(function() { var options = { id: "bootstrap-table1", + formId: "form1", toolbar: "toolbar1", url: prefix + "/list", createUrl: prefix + "/add", @@ -145,6 +146,7 @@ $(function() { var options = { id: "bootstrap-table2", + formId: "form2", toolbar: "toolbar2", url: prefix + "/list", createUrl: prefix + "/add",