feat:
This commit is contained in:
@ -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(() => {
|
||||
|
Reference in New Issue
Block a user