fix(#I18IU3): 修复脚本错误
#Issue link https://gitee.com/LongbowEnterprise/dashboard/issues?id=I18IU3
This commit is contained in:
parent
f0954645b4
commit
80a0e2794d
|
@ -6,6 +6,7 @@
|
|||
showToggle: false,
|
||||
showRefresh: false,
|
||||
showColumns: false,
|
||||
showAdvancedSearchButton: false,
|
||||
columns: [
|
||||
{ title: "登录名称", field: "UserName" },
|
||||
{ title: "显示名称", field: "DisplayName" },
|
||||
|
|
|
@ -7,6 +7,7 @@ $(function () {
|
|||
showToggle: false,
|
||||
showRefresh: false,
|
||||
showColumns: false,
|
||||
showAdvancedSearchButton: false,
|
||||
columns: [
|
||||
{
|
||||
title: "序号", formatter: function (value, row, index) {
|
||||
|
|
|
@ -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() });
|
||||
|
|
Loading…
Reference in New Issue