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'