|
@@ -128,6 +128,12 @@ export const JeecgListMixin = {
|
|
|
sqp['superQueryParams']=encodeURI(this.superQueryParams)
|
|
|
sqp['superQueryMatchType'] = this.superQueryMatchType
|
|
|
}
|
|
|
+ // 参数去空
|
|
|
+ if (Object.prototype.toString.call(this.queryParam) === "[object Object]") {
|
|
|
+ for (let paramKey in this.queryParam) {
|
|
|
+ this.queryParam[paramKey] = typeof this.queryParam[paramKey] === "string" ? this.queryParam[paramKey].trim() : this.queryParam[paramKey];
|
|
|
+ }
|
|
|
+ }
|
|
|
var param = Object.assign(sqp, this.queryParam, this.isorter ,this.filters);
|
|
|
param.field = this.getQueryField();
|
|
|
param.pageNo = this.ipagination.current;
|