diff --git a/src/hooks/web/common.ts b/src/hooks/web/common.ts index 2acee9a9..a2a3480f 100644 --- a/src/hooks/web/common.ts +++ b/src/hooks/web/common.ts @@ -238,7 +238,10 @@ export function formatParams(params = {}, equal: any = [], otherQuery: any = []) } else { postData.pageCondition.sortConditions = [] } - postData.otherQueryCondition = otherQueryCondition + if (otherQuery.length) { + postData.otherQueryCondition = otherQueryCondition + } + postData.queryCondition = JSON.stringify(conditions) return postData }