diff --git a/packages/plugins/@nocobase/plugin-data-visualization/src/client/configure/schemas/configure.ts b/packages/plugins/@nocobase/plugin-data-visualization/src/client/configure/schemas/configure.ts index 876471c31..544a9b1b0 100644 --- a/packages/plugins/@nocobase/plugin-data-visualization/src/client/configure/schemas/configure.ts +++ b/packages/plugins/@nocobase/plugin-data-visualization/src/client/configure/schemas/configure.ts @@ -374,7 +374,6 @@ export const querySchema: ISchema = { 'x-component': 'InputNumber', 'x-component-props': { defaultValue: 2000, - max: 2000, min: 1, style: { width: '100px', diff --git a/packages/plugins/@nocobase/plugin-data-visualization/src/server/actions/query.ts b/packages/plugins/@nocobase/plugin-data-visualization/src/server/actions/query.ts index 595314b3e..2d71df86a 100644 --- a/packages/plugins/@nocobase/plugin-data-visualization/src/server/actions/query.ts +++ b/packages/plugins/@nocobase/plugin-data-visualization/src/server/actions/query.ts @@ -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,