Vue路由传参

import anyName from './components/anyName'

Vue.use(Router)

export default new Router({

  routes: [

    {path:'/anyName',name:'sid',component:anyName,props:true},

  ]

})



接收页面↓

你可能感兴趣的:(Vue路由传参)