fix(#I18IU3): 修复脚本错误

#Issue
link https://gitee.com/LongbowEnterprise/dashboard/issues?id=I18IU3
This commit is contained in:
Argo Zhang 2020-01-18 21:17:45 +08:00
parent f0954645b4
commit 80a0e2794d
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
3 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,7 @@
showToggle: false,
showRefresh: false,
showColumns: false,
showAdvancedSearchButton: false,
columns: [
{ title: "登录名称", field: "UserName" },
{ title: "显示名称", field: "DisplayName" },

View File

@ -7,6 +7,7 @@ $(function () {
showToggle: false,
showRefresh: false,
showColumns: false,
showAdvancedSearchButton: false,
columns: [
{
title: "序号", formatter: function (value, row, index) {

View File

@ -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() });