diff --git a/src/dealer/withdraw/index.tsx b/src/dealer/withdraw/index.tsx index 8705a1c..67b9a45 100644 --- a/src/dealer/withdraw/index.tsx +++ b/src/dealer/withdraw/index.tsx @@ -308,6 +308,13 @@ const DealerWithdraw: React.FC = () => { // return } + if (amount > 200) { + Taro.showToast({ + title: '单笔最多提现200元', + icon: 'none' + }) + return + } if (amount > available) { Taro.showToast({ title: '提现金额超过可用余额', @@ -413,7 +420,7 @@ const DealerWithdraw: React.FC = () => { } } - const quickAmounts = ['100', '300', '500', '1000'] + const quickAmounts = ['50', '100', '200'] const setQuickAmount = (amount: string) => { formRef.current?.setFieldsValue({amount})