...
|
...
|
@@ -6,7 +6,12 @@ export default [ |
|
|
},
|
|
|
{
|
|
|
name: 'ArticleDetail',
|
|
|
path: '/xianyu/article/detail',
|
|
|
component: () => import(/* webpackChunkName: "articleDetail" */ './articleDetail')
|
|
|
path: '/xianyu/article/detail/:articleId.html',
|
|
|
component: () => import(/* webpackChunkName: "articleDetail" */ './articleDetail'),
|
|
|
props({params}) {
|
|
|
return {
|
|
|
articleId: parseInt(params.articleId, 10)
|
|
|
};
|
|
|
}
|
|
|
}
|
|
|
]; |
...
|
...
|
|