将评查点的info类型也暂时统计为评查点结构警告这个范畴

This commit is contained in:
2025-05-24 11:39:27 +08:00
parent f6849c4a18
commit 9c21be482b
4 changed files with 6 additions and 3 deletions
+2
View File
@@ -184,6 +184,8 @@ export function FilePreview({ fileContent, activeReviewPointResultId, targetPage
// let newTargetPage = targetPage;
// console.log("targetPage:", targetPage);
// console.log("fileContent:", fileContent);
// 页码偏移量
// try {
// // 安全地访问ocrResult
// if (fileContent.ocrResult && fileContent.ocrResult.__meta && fileContent.ocrResult.__meta.page_offset) {
+1 -1
View File
@@ -227,7 +227,7 @@ export function ReviewPointsList({
).length;
const warningCount = reviewPoints.filter(
point => point.result === false && point.status === 'warning'
point => point.result === false && (point.status === 'warning' || point.status === 'info')
).length;
const errorCount = reviewPoints.filter(