|
|
@ -565,6 +565,9 @@ |
|
|
getEmailCodeLock: false, |
|
|
getEmailCodeLock: false, |
|
|
JStime: 0, |
|
|
JStime: 0, |
|
|
tiemr: null, |
|
|
tiemr: null, |
|
|
|
|
|
bool:false, |
|
|
|
|
|
address1:"", |
|
|
|
|
|
address2:"" |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
@ -573,7 +576,15 @@ |
|
|
watch: { |
|
|
watch: { |
|
|
// 协议改变时 重新获取地址 |
|
|
// 协议改变时 重新获取地址 |
|
|
depositeAdressType() { |
|
|
depositeAdressType() { |
|
|
this.getDepositeAdress(); |
|
|
this.deposite.address = "" |
|
|
|
|
|
if(this.depositeAdressType==3&&this.bool==true){ |
|
|
|
|
|
this.getDepositeAdress(); |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.deposite.address = this.address2 |
|
|
|
|
|
} |
|
|
|
|
|
if(this.depositeAdressType==2){ |
|
|
|
|
|
this.deposite.address = this.address1 |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
allAssets(val) { |
|
|
allAssets(val) { |
|
|
@ -668,6 +679,13 @@ |
|
|
}) |
|
|
}) |
|
|
.then(data => { |
|
|
.then(data => { |
|
|
this.deposite.address = data.address; |
|
|
this.deposite.address = data.address; |
|
|
|
|
|
if(this.depositeAdressType==2){ |
|
|
|
|
|
this.address1 = data.address |
|
|
|
|
|
} |
|
|
|
|
|
if(this.depositeAdressType==3){ |
|
|
|
|
|
this.address2 = data.address |
|
|
|
|
|
this.bool = false |
|
|
|
|
|
} |
|
|
}) |
|
|
}) |
|
|
.catch(err => {}); |
|
|
.catch(err => {}); |
|
|
}, |
|
|
}, |
|
|
@ -679,6 +697,7 @@ |
|
|
this.deposite.coin_id = item.coin_id; |
|
|
this.deposite.coin_id = item.coin_id; |
|
|
// 初始化充值地址 |
|
|
// 初始化充值地址 |
|
|
this.getDepositeAdress(); |
|
|
this.getDepositeAdress(); |
|
|
|
|
|
this.bool = true; |
|
|
$("#deposite").modal("show"); |
|
|
$("#deposite").modal("show"); |
|
|
} else { |
|
|
} else { |
|
|
// this.$message.error(this.$t("wallet.auth")) |
|
|
// this.$message.error(this.$t("wallet.auth")) |
|
|
|