From e086624dfa6929b54c8b804c5f9c4d3236ed32d9 Mon Sep 17 00:00:00 2001 From: xixi <123@qq.com> Date: Wed, 30 Oct 2024 17:10:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=91=E9=A2=9D=E4=B8=8D?= =?UTF-8?q?=E7=A1=AE=E5=AE=9A=E4=B8=8D=E6=98=BE=E7=A4=BA=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E4=BB=98=E6=AC=BE=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/payment/Payment.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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')}