From 193d5618be0057b90067482554cd851cfbebd94c Mon Sep 17 00:00:00 2001 From: bot_dev1 Date: Thu, 6 Aug 2026 14:57:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A9=BA=E5=80=BC=E5=90=88=E5=B9=B6?= =?UTF-8?q?=E4=B8=8E=E9=80=BB=E8=BE=91=E6=88=96=E6=B7=B7=E7=94=A8=E5=8A=A0?= =?UTF-8?q?=E6=8B=AC=E5=8F=B7=EF=BC=88models/alerts/kb=20=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E8=AF=AD=E6=B3=95=E9=94=99=E8=AF=AF=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../apps/web-antdv-next/src/views/iaop/admin/alerts.vue | 2 +- .../fba-ui-src/apps/web-antdv-next/src/views/iaop/admin/kb.vue | 2 +- .../apps/web-antdv-next/src/views/iaop/admin/models.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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,