vue-router: No match found for location with path '/xxx/yyy'

我遇到这个问题的原因是路由的name名字重复,导致找不到跳转的路由

{ path: 'store', name: 'store', component: StoreVue } //就是这里的name和别的重复了,应该避免

posted on 2022-04-13 18:35  In-6026  阅读(249)  评论(0)    收藏  举报

导航