♻ refactor: fix redirec bug

This commit is contained in:
good luck 2021-08-30 12:25:19 +08:00
parent f9d09e6a3d
commit c839d97b8b

View File

@ -39,7 +39,7 @@ export const asyncRoutes = [
{ {
path: '/', path: '/',
component: Layout, component: Layout,
redirect: 'index', redirect: '/index',
children: [ children: [
{ {
path: 'index', path: 'index',