Skip to content

Commit 35c1d25

Browse files
author
huangshuwei
committed
update doc router
1 parent e16d868 commit 35c1d25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/src/router/router.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ export default [
88
{
99
path: "/",
1010
meta: { keepAlive: true, hide: true },
11-
redirect: "/en/doc"
11+
redirect: "/en"
1212
}, // 默认路由
1313
{
1414
path: "/zh",
1515
component: emptyLayout,
16-
redirect: "/zh/doc",
16+
redirect: "/zh/demo",
1717
children: [
1818
{
1919
path: "demo",
@@ -32,7 +32,7 @@ export default [
3232
{
3333
path: "/en",
3434
component: emptyLayout,
35-
redirect: "/en/doc",
35+
redirect: "/en/demo",
3636
children: [
3737
{
3838
path: "demo",

0 commit comments

Comments
 (0)