fix(reviews): show field value when res=false instead of showing '缺失'

Second rendering path (entity fields) incorrectly hid values when
res=false, showing '缺失' even for fields with extracted values.
Fixed to match first rendering path: only show '缺失' when both
res=false AND value is empty. Values always display when present.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-23 01:05:48 +08:00
parent c0f8004278
commit 32bee87998
+5 -5
View File
@@ -1746,16 +1746,16 @@ export function ReviewPointsList({
{!value.page && (reviewPoint.contentPage && !reviewPoint.contentPage[key]) && (
<i className="ri-information-line text-red-500 text-xs ml-1" title="没有找到对应的文书内容"></i>
)}
{/* 缺失显示 */}
{!res && (
{/* 缺失显示:仅在无值时显示 */}
{!res && !value.value && (
<span className="ml-2 text-xs text-yellow-500">
</span>
)}
</div>
{/* 主要值显示 */}
{res && (
{/* 主要值显示:有值就显示,不受res影响 */}
{value.value && (
<ReactTableTooltip content={value.value} />
)}
</div>