diff --git a/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/admin/alerts.vue b/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/admin/alerts.vue index 3984de3..2a95adb 100644 --- a/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/admin/alerts.vue +++ b/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/admin/alerts.vue @@ -68,7 +68,7 @@ const gridOptions: VxeTableGridOptions = { proxy: { query: async ({ page } = {}) => { const cur = page?.currentPage ?? 1; - const size = page?.pageSize ?? alerts.value.length || 10; + const size = page?.pageSize ?? (alerts.value.length || 10); return { items: alerts.value.slice((cur - 1) * size, cur * size), total: alerts.value.length, diff --git a/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/admin/kb.vue b/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/admin/kb.vue index 5a3f347..329ec04 100644 --- a/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/admin/kb.vue +++ b/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/admin/kb.vue @@ -21,7 +21,7 @@ const gridOptions: VxeTableGridOptions = { proxy: { query: async ({ page } = {}) => { const cur = page?.currentPage ?? 1; - const size = page?.pageSize ?? docs.value.length || 10; + const size = page?.pageSize ?? (docs.value.length || 10); return { items: docs.value.slice((cur - 1) * size, cur * size), total: docs.value.length, 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 e2954b3..1279f25 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 @@ -70,7 +70,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,