Vue 动态路由传值
摘要:
一.动态路由传值 1.配置动态路由; const routes = [ //动态路由路径参数以:开头 { path: '/Content/:aid', component:Content}, ] 2. <router-link :to="'/Shopcontent/'+key"> {{key}}-- 阅读全文
posted @ 2018-06-19 17:29 changedman 阅读(146) 评论(0) 推荐(0) 编辑