Skip to content

Commit

Permalink
fix(router): 默认根路径重定向大小写修复
Browse files Browse the repository at this point in the history
  • Loading branch information
yulimchen committed Jul 11, 2023
1 parent 5416a3e commit ca8fa2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const routes: Array<RouteRecordRaw> = [
path: "/",
name: "root",
component: Layout,
redirect: "Demo",
redirect: { name: "Demo" },
children: [
{
path: "demo",
Expand Down

0 comments on commit ca8fa2d

Please sign in to comment.