Browse Source
Merge pull request #5 from littleshe/patch-1
[fix]logo跳转404问题
master
若依
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/router/index.js
|
|
@ -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; |
|
|
|