From 3905dfe6fad5d05c40cabc254e44bb31a9c8ae8e Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 15 Jun 2022 17:23:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=85=91=E6=8D=A2?= =?UTF-8?q?=E7=A0=81=E7=AE=A1=E7=90=86=E3=80=91=E7=BC=96=E8=BE=91=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=8C=E7=AB=8B=E5=87=8F=E9=87=91=E5=8A=A0=E6=AC=BE?= =?UTF-8?q?=E5=AF=B9=E8=AF=9D=E6=A1=86=E4=B8=AD=EF=BC=8C=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E5=8A=A0=E6=AC=BE=E9=87=91=E9=A2=9D=EF=BC=8C=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=8C=89=E9=92=AE=EF=BC=8C=E5=9C=A8=E5=85=85?= =?UTF-8?q?=E5=80=BC=E6=89=B9=E6=AC=A1=E9=87=91=E9=A2=9D=E4=B8=AD=E4=B9=9F?= =?UTF-8?q?=E4=BC=9A=E5=B1=95=E7=A4=BA=E5=8A=A0=E6=AC=BE=E5=90=8E=E7=9A=84?= =?UTF-8?q?=E9=87=91=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/knockGold/Dialog.jsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/knockGold/Dialog.jsx b/src/components/knockGold/Dialog.jsx index 315d9675..9a61ac38 100644 --- a/src/components/knockGold/Dialog.jsx +++ b/src/components/knockGold/Dialog.jsx @@ -8,6 +8,7 @@ import { Button, Notify } from 'zent' import { addFund, handelResponse } from '@/assets/api' export default ({ data, onChangeMoney }) => { const [stateData, setStateData] = useState({ addNew: '' }) + const [isCount, setIsCount] = useState(false) const ref = useRef() useEffect(() => { setStateData({ ...data }) @@ -25,6 +26,7 @@ export default ({ data, onChangeMoney }) => { res, (req, msg) => { Notify.success('加款成功') + setIsCount(true) setTimeout(() => { onChangeMoney(false, Number(stateData.addNew)) }, 1000) @@ -132,10 +134,7 @@ export default ({ data, onChangeMoney }) => {