this.$route 和 this.$router 這兩個對象有什么區別:
this.$route 是當前路由跳轉對象,包含當前路由的name、path、query、params等屬性
this.$router 是路由導航對象,使用它跳轉到其他不同url地址
this.$route 和 this.$router 這兩個對象有什么區別:
this.$route 是當前路由跳轉對象,包含當前路由的name、path、query、params等屬性
this.$router 是路由導航對象,使用它跳轉到其他不同url地址
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。