Skip to content

Commit

Permalink
fix(route): the duplicated route names of license and about cause the…
Browse files Browse the repository at this point in the history
…ir routest not be accessed
  • Loading branch information
orangegzx authored and Kinplemelon committed Jul 27, 2022
1 parent d8523b8 commit a11d82c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/router/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const routes: Array<RouteRecordRaw> = [
/* License */
{
path: '/license',
name: 'License',
name: 'LicensePage',
meta: { title: 'License' },
component: Home,
children: [
Expand All @@ -174,7 +174,7 @@ const routes: Array<RouteRecordRaw> = [
/* About */
{
path: '/about',
name: 'About',
name: 'AboutPage',
meta: { title: 'common.about' },
component: Home,
children: [
Expand Down

0 comments on commit a11d82c

Please sign in to comment.