将评查点的info类型也暂时统计为评查点结构警告这个范畴
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user