fix(platform): 调整兑换凭证预览和完成态按钮

This commit is contained in:
yml
2026-11-21 13:33:54 +08:00
parent cd7eb78e01
commit fb824750ea
@@ -1241,7 +1241,7 @@ export default function PlatformFulfillmentPage() {
alt="兑换结果凭证" alt="兑换结果凭证"
style={{ style={{
width: '100%', width: '100%',
maxWidth: 480, maxWidth: 180,
height: 'auto', height: 'auto',
borderRadius: 8, borderRadius: 8,
border: '1px solid #f0f0f0', border: '1px solid #f0f0f0',
@@ -1387,7 +1387,10 @@ export default function PlatformFulfillmentPage() {
disabled={ disabled={
!selected.account || !selected.account ||
!can('douyu:task') || !can('douyu:task') ||
!selected.commodityId !selected.commodityId ||
selected.executionStatus === 'completed' ||
selected.exchangeStatus === 'manual_done' ||
Boolean(selected.exchangeResultImage)
} }
loading={douyuActionLoading === 'exchange_goods'} loading={douyuActionLoading === 'exchange_goods'}
onClick={() => void runDouyuAccountAction('exchange_goods')} onClick={() => void runDouyuAccountAction('exchange_goods')}