一、路由添加
1、官网地址
带参数的动态路由匹配 | Vue Routerhttps://router.vuejs.org/zh/guide/essentials/dynamic-matching.html
2、复制核心语句
{ path: '/:pathMatch(.*)*', name: 'NotFound', component: NotFound }
带参数的动态路由匹配 | Vue Routerhttps://router.vuejs.org/zh/guide/essentials/dynamic-matching.html
{ path: '/:pathMatch(.*)*', name: 'NotFound', component: NotFound }