Remove delegations loading
This commit is contained in:
parent
834dace884
commit
ba1b9ebfe6
@ -70,14 +70,14 @@ export default {
|
|||||||
this.getKeyBase(res.identity)
|
this.getKeyBase(res.identity)
|
||||||
},
|
},
|
||||||
async getStakingValidatorsDelegations(address) {
|
async getStakingValidatorsDelegations(address) {
|
||||||
this.loadingDelegations = true
|
// this.loadingDelegations = true
|
||||||
const res = await this.$api.fetch('getStakingValidatorsDelegations', {
|
// const res = await this.$api.fetch('getStakingValidatorsDelegations', {
|
||||||
validatorAddress: address
|
// validatorAddress: address
|
||||||
})
|
// })
|
||||||
this.loadingDelegations = false
|
// this.loadingDelegations = false
|
||||||
if (!res) return
|
// if (!res) return
|
||||||
this.delegationList = res
|
// this.delegationList = res
|
||||||
this.selfDelegations(res)
|
// this.selfDelegations(res)
|
||||||
},
|
},
|
||||||
// 计算自委托比例
|
// 计算自委托比例
|
||||||
selfDelegations(list) {
|
selfDelegations(list) {
|
||||||
|
Loading…
Reference in New Issue
Block a user