vue路由跳转到指定页面

1.this.$router.push({name:'Home'})

2.this.$router.push({path:'/view'})

3.this.$router.replace({name:'Home'})

4.this.$router.replace({path:'/view'})

猜你喜欢

转载自www.cnblogs.com/luguankun/p/10664496.html