From a7a6a68e8f1de4aeafd8f11e8cf11473a2a867c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=A0=E6=9C=A8?= Date: Thu, 13 Jun 2019 17:39:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtable=E5=9C=A8=E7=BB=91?= =?UTF-8?q?=E5=AE=9Atab=E4=B9=8B=E5=90=8E=EF=BC=8C=E5=88=87=E6=8D=A2tab?= =?UTF-8?q?=E6=97=B6table=E7=9A=84=E5=BD=93=E5=89=8D=E9=A1=B5=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E9=87=8D=E7=BD=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/assets/js/require-table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/assets/js/require-table.js b/public/assets/js/require-table.js index 4086a2567..5e00ba517 100644 --- a/public/assets/js/require-table.js +++ b/public/assets/js/require-table.js @@ -171,7 +171,7 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table var field = $(this).closest("ul").data("field"); var value = $(this).data("value"); $("select[name='" + field + "'] option[value='" + value + "']", table.closest(".bootstrap-table").find(".commonsearch-table")).prop("selected", true); - table.bootstrapTable('refresh', {}); + table.bootstrapTable('refresh', {pageNumber:1}); return false; }); // 刷新按钮事件 -- Gitee