Commit 05abf2ed authored by chenqikuai's avatar chenqikuai

fix:地址改变时更新数据

parent 65b841e4
...@@ -45,6 +45,14 @@ export default Vue.extend({ ...@@ -45,6 +45,14 @@ export default Vue.extend({
loadingPack: false, loadingPack: false,
}; };
}, },
watch: {
"$route.query.address"() {
this.getAllExecBalance();
this.getTxList();
this.getMaker();
this.getVoter();
},
},
mounted() { mounted() {
this.getAllExecBalance(); this.getAllExecBalance();
this.getTxList(); this.getTxList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment