vue路由跳转总结

参考地址:https://www.cnblogs.com/hwldyz/p/9204346.html this.$router.push、replace、go的区别 1.this.$router.push() 描述:跳转到不同的url,但这个方法会向history栈添加一个记录,点击后退会返回到上一个页面。 用法: 2.this.$router.replace() 描述:同样是跳转到指定的url,
相关文章
相关标签/搜索