摘要: // 注意: 一定要区分 this.$route 和 this.$router 这两个对象, // 其中: this.$route 是路由【参数对象】,所有路由中的参数, params, query 都属于它 // 其中: this.$router 是一个路由【导航对象】,用它 可以方便的 使用 JS 代码,实现路由的 前进、后退、 跳转到新的 URL 地址 ... 阅读全文
posted @ 2019-02-16 19:17 小金king 阅读(625) 评论(0) 推荐(0) 编辑