fix(bi): query with limit (#2803)

This commit is contained in:
YANG QIA 2023-10-11 06:59:22 -05:00 committed by GitHub
parent 72367a9f85
commit c33b69a737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -374,7 +374,6 @@ export const querySchema: ISchema = {
'x-component': 'InputNumber',
'x-component-props': {
defaultValue: 2000,
max: 2000,
min: 1,
style: {
width: '100px',

View File

@ -155,7 +155,8 @@ export const parseBuilder = async (ctx: Context, next: Next) => {
include,
group,
order,
limit: limit > 2000 ? 2000 : limit,
limit: limit || 2000,
subQuery: false,
raw: true,
},
fieldMap,