mirror of https://gitee.com/karson/fastadmin.git
修复搜索时部分参数被过滤的BUG
parent
c29e0accc7
commit
a52a8a1a25
|
|
@ -367,8 +367,8 @@
|
|||
var params = getQueryParams(this.options.queryParams({}), searchQuery, true);
|
||||
this.trigger('common-search', this, params, searchQuery);
|
||||
this.options.pageNumber = 1;
|
||||
this.options.queryParams = function () {
|
||||
return params;
|
||||
this.options.queryParams = function (options) {
|
||||
return $.extend({}, options, params);
|
||||
};
|
||||
this.refresh({query: params});
|
||||
};
|
||||
|
|
|
|||
|
|
@ -9275,8 +9275,8 @@ return d.keepInvalid=a,l},l.datepickerInput=function(a){if(0===arguments.length)
|
|||
var params = getQueryParams(this.options.queryParams({}), searchQuery, true);
|
||||
this.trigger('common-search', this, params, searchQuery);
|
||||
this.options.pageNumber = 1;
|
||||
this.options.queryParams = function () {
|
||||
return params;
|
||||
this.options.queryParams = function (options) {
|
||||
return $.extend({}, options, params);
|
||||
};
|
||||
this.refresh({query: params});
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue