refresh rewards after withdraw

This commit is contained in:
liangping 2022-04-09 22:04:44 +08:00
parent 3a53717dce
commit e18a144720

View File

@ -352,7 +352,6 @@ export default {
this.$http.getStakingParameters().then(res => { this.stakingParameter = res }) this.$http.getStakingParameters().then(res => { this.stakingParameter = res })
this.$http.getMintingInflation().then(res => { this.mintInflation = res }) this.$http.getMintingInflation().then(res => { this.mintInflation = res })
this.address = this.$route.params.address this.address = this.$route.params.address
this.$http.getValidatorDistribution(this.address).then(res => { this.distribution = res })
this.initial() this.initial()
}, },
mounted() { mounted() {
@ -379,6 +378,7 @@ export default {
} }
}) })
}) })
this.$http.getValidatorDistribution(this.address).then(res => { this.distribution = res })
}, },
pageload(v) { pageload(v) {
this.$http.getTxsBySender(this.accountAddress, v).then(res => { this.$http.getTxsBySender(this.accountAddress, v).then(res => {