Browse Source

监听路由变化

feature/feature-compatible
fengchengzhi 7 years ago
parent
commit
2d2804d1f5
1 changed files with 3 additions and 1 deletions
  1. 4
      src/view/home.vue

4
src/view/home.vue

@ -106,7 +106,9 @@
Loading Loading
}, },
watch: { watch: {
$route(to,from){
this.getdefaultAddress()
}
}, },
computed: { computed: {

Loading…
Cancel
Save