|
@@ -171,13 +171,13 @@ const doneWithdraw = () => {
|
|
|
|
|
|
const withdrawalAll = () => {
|
|
const withdrawalAll = () => {
|
|
console.log(canWithdrawBalance.value)
|
|
console.log(canWithdrawBalance.value)
|
|
- if (
|
|
|
|
- canWithdrawBalance.value &&
|
|
|
|
|
|
+ requestWithdrawParams.value.amountValue =
|
|
|
|
+ canWithdrawBalance.value / 100;
|
|
|
|
+ if (!(canWithdrawBalance.value &&
|
|
canWithdrawBalance.value >
|
|
canWithdrawBalance.value >
|
|
- props.walletWithdrawConfig.withdrawUSDPaypalFee
|
|
|
|
|
|
+ props.walletWithdrawConfig.withdrawUSDPaypalFee)
|
|
) {
|
|
) {
|
|
- requestWithdrawParams.value.amountValue =
|
|
|
|
- canWithdrawBalance.value / 100;
|
|
|
|
|
|
+ showWithdrawError.value = true;
|
|
}
|
|
}
|
|
};
|
|
};
|
|
|
|
|