From 92aa7c3098b2f442a5bf6d67a0c8d2bad6c66053 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Tue, 12 Jan 2021 09:30:57 +0800 Subject: [PATCH] 去掉 admin不能修改密码的bug --- 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