From f6d390988b1c9b5695338214e95ff0d6da70b300 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Wed, 25 Nov 2020 16:34:41 +0800 Subject: [PATCH] 完善功能 --- 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