|
|
|
@ -410,14 +410,20 @@ export default { |
|
|
|
draw() { |
|
|
|
this.form.addressType = this.rechargeType; |
|
|
|
this.form.coin_id = this.activeCoin.coin_id; |
|
|
|
Wallet.withdraw(this.form, {btn: this.$refs.btn}) |
|
|
|
.then((res) => { |
|
|
|
Wallet.withdraw(this.form, {btn: this.$refs.btn}).then((res) => { |
|
|
|
this.secondaryShow = false |
|
|
|
this.form.code = '' |
|
|
|
if (res.code == 4001) { |
|
|
|
this.$toast(res.message); |
|
|
|
// this.reGetGraphChe();//重新获取图形验证码; |
|
|
|
} else { |
|
|
|
} else if(res.code == 4010){ |
|
|
|
this.$toast(this.$t('currency.b5')); |
|
|
|
setTimeout(()=>{ |
|
|
|
uni.navigateTo({ |
|
|
|
url:'/pages/auth/index' |
|
|
|
}) |
|
|
|
},2000) |
|
|
|
}else{ |
|
|
|
this.$toast.success(this.$t("assets.d5") + "!"); |
|
|
|
this.form.amount = '' |
|
|
|
setTimeout(()=>{ |
|
|
|
@ -432,9 +438,7 @@ export default { |
|
|
|
// this.getWithdrawRecords(); |
|
|
|
// }, 3000) |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch(() => { |
|
|
|
}); |
|
|
|
}).catch(() => {}); |
|
|
|
}, |
|
|
|
reset() { |
|
|
|
this.loadMore = true; |
|
|
|
|