|
@@ -213,7 +213,7 @@ const withdraw = () => {
|
|
}
|
|
}
|
|
params.withdrawReceiveAccount = params.withdrawReceiveAccount.replace(/\s*/g, "");
|
|
params.withdrawReceiveAccount = params.withdrawReceiveAccount.replace(/\s*/g, "");
|
|
params.amountValue = params.amountValue;
|
|
params.amountValue = params.amountValue;
|
|
- if (parseInt(params.amountValue) > parseInt(canWithdrawBalance.value)) {
|
|
|
|
|
|
+ if (+params.amountValue > +canWithdrawBalance.value) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
withdrawIng.value = true;
|
|
withdrawIng.value = true;
|
|
@@ -259,7 +259,7 @@ const onAmountInput = () => {
|
|
setWithdrawIptStatus(value);
|
|
setWithdrawIptStatus(value);
|
|
|
|
|
|
// 输入金额大于可提现金额
|
|
// 输入金额大于可提现金额
|
|
- if (parseInt(value) > parseInt(canWithdrawBalance.value)) {
|
|
|
|
|
|
+ if (+value > +canWithdrawBalance.value) {
|
|
if (!showWithdrawError.value) {
|
|
if (!showWithdrawError.value) {
|
|
showWithdrawIptError.value = true;
|
|
showWithdrawIptError.value = true;
|
|
}
|
|
}
|
|
@@ -275,8 +275,8 @@ const onAmountInput = () => {
|
|
const setWithdrawIptStatus = (amount) => {
|
|
const setWithdrawIptStatus = (amount) => {
|
|
//显示tips
|
|
//显示tips
|
|
if (
|
|
if (
|
|
- amount > 0 &&
|
|
|
|
- amount < walletWithdrawConfig.value.withdrawPerMinAmount
|
|
|
|
|
|
+ +amount > 0 &&
|
|
|
|
+ +amount < +walletWithdrawConfig.value.withdrawPerMinAmount
|
|
) {
|
|
) {
|
|
showWithdrawError.value = true;
|
|
showWithdrawError.value = true;
|
|
} else {
|
|
} else {
|