This commit is contained in:
chashaobao
2025-06-25 22:47:53 +08:00
parent 0ec366cc2e
commit 56cf10c768
5 changed files with 56 additions and 10 deletions

View File

@ -124,10 +124,14 @@ export default function PartnerKanban({ simple }: PartnerKanbanProps) {
setStats(data);
}, []);
const handleViewWithdraw = useCallback(() => {
if (stats.availableBalance < 10 * 1000) {
Toast.error('提现金额需大于等于10元');
if (stats.availableBalance < 0) {
Toast.info('提现金额需大于等于0元');
return;
}
// if (stats.availableBalance < 10 * 1000) {
// Toast.error('提现金额需大于等于10元');
// return;
// }
setWithdrawOpen(true);
}, [stats.availableBalance]);
const handleWithdrawClose = useCallback(() => {