Merge pull request #5 from littleshe/patch-1

[fix]logo跳转404问题
This commit is contained in:
若依
2021-12-30 09:46:34 +08:00
committed by GitHub

View File

@ -57,7 +57,7 @@ export const constantRoutes = [
{ {
path: '', path: '',
component: Layout, component: Layout,
redirect: 'index', redirect: '/index',
children: [ children: [
{ {
path: '/index', path: '/index',
@ -160,4 +160,4 @@ const router = createRouter({
}, },
}); });
export default router; export default router;