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': 'InputNumber',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
defaultValue: 2000,
|
defaultValue: 2000,
|
||||||
max: 2000,
|
|
||||||
min: 1,
|
min: 1,
|
||||||
style: {
|
style: {
|
||||||
width: '100px',
|
width: '100px',
|
||||||
|
@ -155,7 +155,8 @@ export const parseBuilder = async (ctx: Context, next: Next) => {
|
|||||||
include,
|
include,
|
||||||
group,
|
group,
|
||||||
order,
|
order,
|
||||||
limit: limit > 2000 ? 2000 : limit,
|
limit: limit || 2000,
|
||||||
|
subQuery: false,
|
||||||
raw: true,
|
raw: true,
|
||||||
},
|
},
|
||||||
fieldMap,
|
fieldMap,
|
||||||
|
Loading…
Reference in New Issue
Block a user