Vue 路由条状,钩子函数 created 不执行的解决办法

watch: {
    $route(to, from) {
      this.getInfo()
    }
  }

 

posted @ 2020-06-12 17:02  winyh  阅读(2457)  评论(0)    收藏  举报