标签:ams log 动态 获取 details path params 路由 动态路由
定义:
{ path:‘/details/:id‘ name:‘Details‘, component:Details }
获取传参:
console.log(this.$route.params.id)
动态路由
原文地址:https://www.cnblogs.com/annie211/p/12665954.html