fix(bi): query with limit
(#2803)
This commit is contained in:
parent
72367a9f85
commit
c33b69a737
@ -374,7 +374,6 @@ export const querySchema: ISchema = {
|
||||
'x-component': 'InputNumber',
|
||||
'x-component-props': {
|
||||
defaultValue: 2000,
|
||||
max: 2000,
|
||||
min: 1,
|
||||
style: {
|
||||
width: '100px',
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user