vue-router参数传递

方法一 为了实现点击按钮实现参数的传递,在router-link中使用query属性来进行传递。首先建立一个新的组件Profile 在index.js中导入该组件,而且调用该组件 const Profile = () => import('../components/Profile') { path: '/profile', component: Profile } 以后
相关文章
相关标签/搜索