@@ -50,7 +50,8 @@ export const constantRouters = [{
{
path: "/:pathMatch(.*)*",
component: () => import('@/views/error/404'),
- hidden: true
+ hidden: true,
+ redirect: '/index'
},
path: '/401',