尝试了下watch $route,代码如下:created(){this.fetchdata();},watch:{'$route':'fetchdata'},methods:{fetchdata(){console.log("created")}}