解决VUE 页面跳转数据没有变化问题

activated: function() {
    this.getList()
},
watch: {
    '$route' (to, from) {
      this.getList()
    }
},
data() {
    return {
    }
}

猜你喜欢

转载自blog.csdn.net/qq_32109957/article/details/90670169
今日推荐