From b7265cdd6f3e1fbb0d428c27e5b5e29e34d56953 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Tue, 17 Nov 2020 17:55:21 +0800 Subject: [PATCH] Merge branch 'dev' --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/product.html | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/product.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/product.html index f2c679f..7d953d9 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/product.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/product.html @@ -126,7 +126,10 @@ // 搜索按钮点击事件 $('#product-btn-search').click(function () { var proName = $('#product-search-value').val(); - table.reload('product-table', { where: { proName: proName } }); + table.reload('product-table', { where: { proName: proName}, + page: { + curr: 1 + } }); }); // 添加按钮点击事件 $('#product-btn-add').click(function () { -- Gitblit v1.8.0