修改
This commit is contained in:
parent
e3b6f487da
commit
4dc44dc7e6
@ -97,6 +97,11 @@ export const constantRoutes = [
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '*', // 匹配未定义的路由
|
||||||
|
redirect: '/dashboard', // 重定向
|
||||||
|
hidden: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '*', // 匹配未定义的路由
|
path: '*', // 匹配未定义的路由
|
||||||
redirect: '/404', // 重定向
|
redirect: '/404', // 重定向
|
||||||
|
Loading…
x
Reference in New Issue
Block a user