Browse Source

优化

master
ltlzx 4 years ago
parent
commit
ed194d612d
  1. 19
      src/views/wallet/exchange-assets.vue

19
src/views/wallet/exchange-assets.vue

@ -356,7 +356,7 @@
<div class="input-group input-group-sm">
<input type="number" v-model="withdraw.amount" step="0.00000001" :placeholder="$t('wallet.enterDrawNum')" class="form-control" />
</div>
<span class="text-right">{{$t('wallet.handlingFee1')}}: {{withdrawFee.withdrawal_fee | fee}} {{withdrawCoin}}</span>
<span class="text-right">{{$t('wallet.handlingFee1')}}: {{withdrawCoin=='USDT'&&withdraw.addressType==3?withdrawFee.trc20:withdrawFee.withdrawal_fee }} {{withdrawCoin}}</span>
</div>
</form>
</div>
@ -474,21 +474,6 @@ export default {
}
}
},
filters:{
fee(val){
console.info(val)
if(typeof(val)=="number" || val=="-"){
return val
}else{
let m = val.split(",");
if(this.withdraw.addressType==3){
return m[0]
}else{
return m[1]
}
}
}
},
methods: {
//
paypalSbumit(){
@ -614,7 +599,7 @@ export default {
coin_name: item.coin_name
})
.then(data => {
this.withdrawFee = data;
this.withdrawFee = data;
})
.catch(err => { });
},

Loading…
Cancel
Save