From e18a144720c594cec0aaf5589bbc0598e29b2433 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Sat, 9 Apr 2022 22:04:44 +0800 Subject: [PATCH] refresh rewards after withdraw --- src/views/StakingValidator.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/StakingValidator.vue b/src/views/StakingValidator.vue index b32ffc01..8c91e30e 100644 --- a/src/views/StakingValidator.vue +++ b/src/views/StakingValidator.vue @@ -352,7 +352,6 @@ export default { this.$http.getStakingParameters().then(res => { this.stakingParameter = res }) this.$http.getMintingInflation().then(res => { this.mintInflation = res }) this.address = this.$route.params.address - this.$http.getValidatorDistribution(this.address).then(res => { this.distribution = res }) this.initial() }, mounted() { @@ -379,6 +378,7 @@ export default { } }) }) + this.$http.getValidatorDistribution(this.address).then(res => { this.distribution = res }) }, pageload(v) { this.$http.getTxsBySender(this.accountAddress, v).then(res => {