对提现确认弹窗中银行卡号进行脱敏
This commit is contained in:
parent
f03b870d62
commit
af0e5c8ea2
|
@ -419,7 +419,10 @@ export default function Checkout() {
|
|||
收款账号:
|
||||
<span className="text-secondary">
|
||||
{receiptChannel === 10
|
||||
? data?.detail?.bank_card_no
|
||||
? data?.detail?.bank_card_no?.replace(
|
||||
/(\d{4})\d+(\d{4})/,
|
||||
"$1****$2"
|
||||
)
|
||||
: alipayAccount}
|
||||
</span>
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue