From 086458b89d4c47e15f39a276b71fb263a5aef0cc Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sat, 30 Oct 2021 10:28:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E8=A1=A8=E6=A0=BC=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E6=9F=A5=E8=AF=A2=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js | 1 + ruoyi-admin/src/main/resources/templates/demo/table/multi.html | 2 ++ 2 files changed, 3 insertions(+) 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",