Vue路由跳转的五种方式

目录
- Vue路由跳转的五种方式
-
-
- 1. router-link
- 2. this.$router.push()
- 3. this.$router.replace() (用法同push)
- 4. this.$router.go(n)
- 5. location
- 扩展
-
- this.$ router.push()和 this.$ router.replace()的区别
- params和query的区别
-
Vue路由跳转的五种方式Vue 路由跳转的五种方式 目录 Vue 路由跳转的五种方式 1 router link 2 this router push 3 this router replace 用法同 push 4 this router go n 5 location 扩展 this router push 和 this router

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/73306.html