|
@@ -362,6 +362,9 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
getCurrencyInfoByCode() {
|
|
|
+ let where = this.salePlans && this.salePlans.currencyCode;
|
|
|
+ if (!where) return;
|
|
|
+
|
|
|
postRequest(Api.getCurrencyInfoByCode, {
|
|
|
params: {
|
|
|
currencyCode: this.salePlans.currencyCode
|
|
@@ -520,6 +523,9 @@ export default {
|
|
|
this.reportRedeemBtnClick()
|
|
|
},
|
|
|
getAddress() {
|
|
|
+ let where = this.salePlans && this.salePlans.currencyInfo && this.salePlans.currencyInfo.tokenChain;
|
|
|
+ if (!where) return;
|
|
|
+
|
|
|
postRequest(Api.getTokenRechargeAddress, {
|
|
|
params: {
|
|
|
tokenChain: this.salePlans.currencyInfo?.tokenChain
|