diff --git a/src/components/payment/Payment.tsx b/src/components/payment/Payment.tsx index 2e6d39a..7a990aa 100644 --- a/src/components/payment/Payment.tsx +++ b/src/components/payment/Payment.tsx @@ -66,6 +66,8 @@ interface IPaymentProps { } export default function Payment(props: IPaymentProps) { + // 是否显示完成付款按钮 + const [showPay ,setshowPay] = useState('unset') // 支付完成弹窗 const [paymentModal, setPaymentModal] = useState(false) const [mask, setMask] = useState(false) @@ -192,10 +194,12 @@ export default function Payment(props: IPaymentProps) { } setIsRechargeMoneyEdit(false); getPay() + setshowPay('unset') }}>确定 { setIsRechargeMoneyEdit(false) + setshowPay('unset') }} >取消 @@ -210,6 +214,7 @@ export default function Payment(props: IPaymentProps) { {form.getFieldValue('rechargeMoney')}
@@ -493,8 +498,8 @@ export default function Payment(props: IPaymentProps) { {renderMoney()} {renderPayBody()} -
-