From 8bda78513a65dbf3b170112a81a35fa91934eb6c Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Fri, 8 Jan 2021 22:27:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B5=84=E6=BA=90=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/assets/modular/auth/resource/resource.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/webapp/assets/modular/auth/resource/resource.js b/src/main/webapp/assets/modular/auth/resource/resource.js index 168b2c53..8bb6c7bc 100644 --- a/src/main/webapp/assets/modular/auth/resource/resource.js +++ b/src/main/webapp/assets/modular/auth/resource/resource.js @@ -95,6 +95,11 @@ layui.use(['table', 'HttpRequest', 'func'], function () { cols: Resource.initColumn() }); + // 搜索按钮点击事件 + $('#btnSearch').click(function () { + Resource.search(); + }); + // 工具条点击事件 table.on('tool(' + Resource.tableId + ')', function (obj) { var data = obj.data;