|
|
@@ -125,8 +125,8 @@ export default {
|
|
|
if (!this.amount) {
|
|
|
return this.$toast(this.$t('lang160'));
|
|
|
}
|
|
|
- if (this.walletBalance < this.amount) {
|
|
|
- return this.$toast(this.$t('lang159'));
|
|
|
+ if (Number(this.walletBalance) < Number(this.amount)) {
|
|
|
+ return this.$toast(this.$t('lang159').replace('XX', this.amount).replace('CC', this.walletBalance));
|
|
|
}
|
|
|
this.show = true;
|
|
|
usdt
|
|
|
@@ -144,6 +144,7 @@ export default {
|
|
|
this.amount = '';
|
|
|
this.show = false;
|
|
|
Notify({ type: 'success', message: this.$t('lang152') });
|
|
|
+ this.getUserInfo();
|
|
|
} else {
|
|
|
this.show = false;
|
|
|
Toast({ message: `${res.msg}` });
|