将评查点的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
+1 -1
View File
@@ -456,7 +456,7 @@ export async function getReviewFiles(searchParams: DocumentSearchParams = {}): P
}
// 统计不通过而且评查点是警告的评查点
if (point && point.suggestion_message_type === 'warning') {
if (point && (point.suggestion_message_type === 'warning' || point.suggestion_message_type === 'info')) {
totalWarningPoints++;
}else if (point && point.suggestion_message_type === 'error') {
totalFailPoints++;