From ba1b9ebfe6787ce2a658a66c72e299afcb0e63b7 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Wed, 14 Jul 2021 13:36:52 +0800 Subject: [PATCH] Remove delegations loading --- src/views/validator-address/mixinData.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/views/validator-address/mixinData.js b/src/views/validator-address/mixinData.js index a8919d9d..c8450da2 100644 --- a/src/views/validator-address/mixinData.js +++ b/src/views/validator-address/mixinData.js @@ -70,14 +70,14 @@ export default { this.getKeyBase(res.identity) }, async getStakingValidatorsDelegations(address) { - this.loadingDelegations = true - const res = await this.$api.fetch('getStakingValidatorsDelegations', { - validatorAddress: address - }) - this.loadingDelegations = false - if (!res) return - this.delegationList = res - this.selfDelegations(res) +// this.loadingDelegations = true +// const res = await this.$api.fetch('getStakingValidatorsDelegations', { +// validatorAddress: address +// }) +// this.loadingDelegations = false +// if (!res) return +// this.delegationList = res +// this.selfDelegations(res) }, // 计算自委托比例 selfDelegations(list) {