为编辑新闻页面添加路由别名
This commit is contained in:
parent
3fa9984464
commit
ef793edd6b
@ -5,7 +5,7 @@ import EditNews from "@views/news-management/EditNews.vue";
|
|||||||
|
|
||||||
export default [
|
export default [
|
||||||
{ path: '/news', component: NewsList },
|
{ path: '/news', component: NewsList },
|
||||||
{ path: '/news/edit', component: EditNews },
|
{ path: '/news/edit', component: EditNews, name: 'editNews' },
|
||||||
// { path: '/news/:id', component: NewsDetail },
|
// { path: '/news/:id', component: NewsDetail },
|
||||||
// { path: '/news/:id/edit', component: NewsEdit }
|
// { path: '/news/:id/edit', component: NewsEdit }
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user