fix(rectification): 区分不开时不显示「最可能」副标题(验收补改)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
4e6e8d87ef
commit
7203d94e9c
@@ -54,6 +54,8 @@ export function RectificationRangeDelivery({
|
||||
const recordConflict = delivery?.record_conflict ?? null;
|
||||
const caption = delivery?.narrow_hint ?? null;
|
||||
// D3: the range is the title; the representative minute is the subtitle.
|
||||
// Hidden when the columns are indistinct (D4): 「最可能」 next to 「区分不开」
|
||||
// would claim a lead the numbers do not have.
|
||||
const mostLikely = delivery?.representative_time ?? result.representativeTime;
|
||||
// D4: per-column numbers only when the first column leads by ≥ 5 points.
|
||||
const showPercents = rangeDeliveryShowsPercents(columns);
|
||||
@@ -63,7 +65,7 @@ export function RectificationRangeDelivery({
|
||||
<section className="rectification-candidates rectification-range-delivery" aria-label="生时校正区间">
|
||||
<div className="rectification-candidates-heading">
|
||||
<strong>{title}</strong>
|
||||
{mostLikely ? (
|
||||
{mostLikely && !indistinct ? (
|
||||
<span className="rectification-range-delivery__most-likely">
|
||||
{rangeDeliveryMostLikely(mostLikely)}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user