diff --git a/docs/ja/api/options.md b/docs/ja/api/options.md index 2123b9997..459677d1c 100644 --- a/docs/ja/api/options.md +++ b/docs/ja/api/options.md @@ -15,7 +15,7 @@ redirect?: string | Location | Function; alias?: string | Array; children?: Array; // ネストされたルート用 - beforeEnter?: (route: Route, redirect: Function, next: Function) => void; + beforeEnter?: (to: Route, from: Route, next: Function) => void; meta?: any; } ``` diff --git a/docs/zh-cn/api/options.md b/docs/zh-cn/api/options.md index 3a4486280..4955fba75 100644 --- a/docs/zh-cn/api/options.md +++ b/docs/zh-cn/api/options.md @@ -15,7 +15,7 @@ redirect?: string | Location | Function; alias?: string | Array; children?: Array; // for nested routes - beforeEnter?: (route: Route, redirect: Function, next: Function) => void; + beforeEnter?: (to: Route, from: Route, next: Function) => void; meta?: any; } ```