摘要: this.$router与this.$route的区别 this.$router 是函数集,this.$route是数据集 动态路由 使用localhost:8080/xxx/:yyy this.$route.params.yyy 可以直接获取到当前页面yyy具体值 导航的注意事项 ① 路由进行pu 阅读全文
posted @ 2022-04-01 11:06 Thantics 阅读(28) 评论(0) 推荐(0)