在需要渲染的其他页面的vue加入如下代码 可以使用 this.$router.push(location) 来修改 url,完成对其他页面的渲染 export default { created(){ console.log('-----'); this.$router.push({ path