有两个路由
{
name: "article",
path: '/article/:id',
component: null
},
{
name: "new-article",
path: '/article/edit',
component: ArticleEdit
},
现在我在通过代码到/article/edit
页面,然后F5刷新后,就会路由到/article/:id
页面,这个问题该怎么解决?
有两个路由
{
name: "article",
path: '/article/:id',
component: null
},
{
name: "new-article",
path: '/article/edit',
component: ArticleEdit
},
现在我在通过代码到/article/edit
页面,然后F5刷新后,就会路由到/article/:id
页面,这个问题该怎么解决?