vue 3路由不跳转 Catch all routes (“*“) must now be defined using a param with a custom reg
path 要这么写
{
path: "/:pathMatch(.*)*",
redirect: '/404',
hidden: true,
},
vue 3路由不跳转 Catch all routes (“*“) must now be defined using a param with a custom reg
path 要这么写
{
path: "/:pathMatch(.*)*",
redirect: '/404',
hidden: true,
},