自动修改
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { useCallback, useEffect, useRef, useState } from 'react';
|
||||
import { useNavigate, useSearchParams } from 'react-router-dom';
|
||||
import { REDEEM_TOKEN_TTL_SECONDS } from '@dukang/shared-types';
|
||||
import { request } from '../lib/api';
|
||||
|
||||
const REDEEM_TOKEN_TTL_SECONDS = 300;
|
||||
const POLL_INTERVAL_MS = 2500;
|
||||
|
||||
type BenefitSummary = {
|
||||
@@ -236,7 +236,7 @@ export default function RedeemPage() {
|
||||
type="button"
|
||||
className="redeem-header-btn"
|
||||
aria-label="帮助"
|
||||
onClick={() => window.alert('核销金额不超过可用余额,核销码 5 分钟内有效。')}
|
||||
onClick={() => window.alert('核销金额不超过可用余额,核销码 3 分钟内有效。')}
|
||||
>
|
||||
<span className="material-symbols-outlined">help_outline</span>
|
||||
</button>
|
||||
@@ -301,7 +301,7 @@ export default function RedeemPage() {
|
||||
|
||||
<div className="redeem-security">
|
||||
<span className="material-symbols-outlined">shield</span>
|
||||
<p>安全提示:请在核销前核实金额,核销码将在 5 分钟后自动失效。</p>
|
||||
<p>安全提示:请在核销前核实金额,核销码将在 3 分钟后自动失效。</p>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user