diff --git a/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/admin/models.vue b/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/admin/models.vue index 9514a00..a8599db 100644 --- a/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/admin/models.vue +++ b/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/admin/models.vue @@ -65,7 +65,7 @@ const gridOptions: VxeTableGridOptions = { query: async ({ page } = {}) => { // page 可能缺省(分页未就绪的首次查询),兜底返回全量 const cur = page?.currentPage ?? 1; - const size = page?.pageSize ?? models.value.length || 10; + const size = page?.pageSize ?? (models.value.length || 10); return { items: models.value.slice((cur - 1) * size, cur * size), total: models.value.length, diff --git a/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/studio/version.vue b/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/studio/version.vue index 27805af..efacba1 100644 --- a/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/studio/version.vue +++ b/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/studio/version.vue @@ -43,7 +43,7 @@ const gridOptions: VxeTableGridOptions = { query: async ({ page } = {}) => { // page 可能缺省(分页未就绪的首次查询),兜底返回全量 const cur = page?.currentPage ?? 1; - const size = page?.pageSize ?? rows.value.length || 10; + const size = page?.pageSize ?? (rows.value.length || 10); return { items: rows.value.slice((cur - 1) * size, cur * size), total: rows.value.length,