Commit ffecc817 authored by chenqikuai's avatar chenqikuai

fix

parent f723ec17
......@@ -116,6 +116,9 @@ export default VueTypedMixins(chartsMixin).extend({
this.draw()
},
watch: {
'$route.query.address'() {
this.draw()
},
scale() {
this.draw()
},
......
......@@ -11,6 +11,17 @@ export default Vue.extend({
value: 0,
};
},
watch: {
"$route.query.address"() {
this.getAddrOverview();
this.init();
getAddressTxCount(this.$route.query.address as string).then((ret) => {
if (ret.error === null) {
this.txCount = ret.result;
}
});
},
},
mounted() {
this.getAddrOverview();
this.init();
......
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