From 054fc4f697c78428e26dad63a89481b5c4eaff4b Mon Sep 17 00:00:00 2001 From: jiangao <2655109177@qq.com> Date: Fri, 31 Oct 2025 16:09:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BD=93=E5=B0=81=E9=9D=A2?= =?UTF-8?q?=E6=98=AF-1=E9=A1=B5=E7=A0=81=E7=9A=84=E6=97=B6=E5=80=99?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E7=B4=A2=E5=BC=95=E5=AE=9A=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/reviews/ReviewPointsList.tsx | 2 +- app/config/api-config.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/reviews/ReviewPointsList.tsx b/app/components/reviews/ReviewPointsList.tsx index 2017e5b..4cc7207 100644 --- a/app/components/reviews/ReviewPointsList.tsx +++ b/app/components/reviews/ReviewPointsList.tsx @@ -2226,7 +2226,7 @@ export function ReviewPointsList({ // 遍历contentPage中的每个key for (const key of Object.keys(reviewPoint.contentPage)) { - if (reviewPoint.contentPage[key] && parseInt(reviewPoint.contentPage[key] as string) > 0) { + if (reviewPoint.contentPage[key] && parseInt(reviewPoint.contentPage[key] as string) >= -1) { // 返回第一个找到的有效页码,以及对应的key return { pageIndex: parseInt(reviewPoint.contentPage[key] as string), diff --git a/app/config/api-config.ts b/app/config/api-config.ts index c5fd686..2aee851 100644 --- a/app/config/api-config.ts +++ b/app/config/api-config.ts @@ -72,9 +72,9 @@ const portConfigs: Record> = { // 主要 // 梅州 '51703': { - baseUrl: 'http://172.16.0.55:8073', - documentUrl: 'http://172.16.0.55:8073/docauditai/', - uploadUrl: 'http://172.16.0.55:8073/admin/documents' + baseUrl: 'http://nas.7bm.co:8073', + documentUrl: 'http://nas.7bm.co:8073/docauditai/', + uploadUrl: 'http://nas.7bm.co:8073/admin/documents' // baseUrl: 'http://nas.7bm.co:8873', // documentUrl: 'http://nas.7bm.co:8873/docauditai/', // uploadUrl: 'http://nas.7bm.co:8873/admin/documents'