diff --git a/src/admin/Bootstrap.Admin/wwwroot/js/noti.js b/src/admin/Bootstrap.Admin/wwwroot/js/noti.js index 9170d441..f627035e 100644 --- a/src/admin/Bootstrap.Admin/wwwroot/js/noti.js +++ b/src/admin/Bootstrap.Admin/wwwroot/js/noti.js @@ -6,6 +6,7 @@ showToggle: false, showRefresh: false, showColumns: false, + showAdvancedSearchButton: false, columns: [ { title: "登录名称", field: "UserName" }, { title: "显示名称", field: "DisplayName" }, diff --git a/src/admin/Bootstrap.Admin/wwwroot/js/online.js b/src/admin/Bootstrap.Admin/wwwroot/js/online.js index 6211d190..776ea489 100644 --- a/src/admin/Bootstrap.Admin/wwwroot/js/online.js +++ b/src/admin/Bootstrap.Admin/wwwroot/js/online.js @@ -7,6 +7,7 @@ $(function () { showToggle: false, showRefresh: false, showColumns: false, + showAdvancedSearchButton: false, columns: [ { title: "序号", formatter: function (value, row, index) { diff --git a/src/admin/Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js b/src/admin/Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js index 4a89779a..90647fce 100644 --- a/src/admin/Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js +++ b/src/admin/Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js @@ -408,7 +408,7 @@ if (settings.search) { // 自动收集 SearchText - var queryParams = settings.queryParams; + var queryParams = settings.queryParams || function (params) { }; settings.queryParams = function (params) { return $.extend({}, queryParams(params), { search: $('.bootstrap-table .fixed-table-toolbar .search-input').val() });