affiliate-dash 结果页:移除渠道字段,结果时间改用 task.redeemedAt(原 flow.dispatch.dispatchAt 非本流程字段显示为空)
This commit is contained in:
@@ -146,7 +146,6 @@ export function AffiliateDashResultStep({
|
|||||||
}) {
|
}) {
|
||||||
const affiliateDash = snapshot.affiliateDash
|
const affiliateDash = snapshot.affiliateDash
|
||||||
const success = Boolean(affiliateDash && !snapshot.isRedeemFailed)
|
const success = Boolean(affiliateDash && !snapshot.isRedeemFailed)
|
||||||
const flow = snapshot.flow
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Card className="claim-content-card">
|
<Card className="claim-content-card">
|
||||||
@@ -168,11 +167,7 @@ export function AffiliateDashResultStep({
|
|||||||
label="绑定账号"
|
label="绑定账号"
|
||||||
value={affiliateDash?.boundAccount || affiliateDash?.gameAccount || '-'}
|
value={affiliateDash?.boundAccount || affiliateDash?.gameAccount || '-'}
|
||||||
/>
|
/>
|
||||||
<InfoTile label="渠道" value={affiliateDash?.gameChannel || '-'} />
|
<InfoTile label="结果时间" value={formatAdminDateTime(snapshot.task?.redeemedAt || null)} />
|
||||||
<InfoTile
|
|
||||||
label="结果时间"
|
|
||||||
value={formatAdminDateTime(flow?.dispatch.dispatchAt || null)}
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ClaimProductItems product={snapshot.product} />
|
<ClaimProductItems product={snapshot.product} />
|
||||||
|
|||||||
Reference in New Issue
Block a user