From e7c3314727fc06444689c0e6ecab5fea337afeb0 Mon Sep 17 00:00:00 2001 From: luliqiang <kidgrow> Date: Fri, 26 Feb 2021 15:24:14 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into 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