Skip to content

Commit 6233959

Browse files
committed
Merge pull request #267 from ablipan/patch-2
Update hooks.md
2 parents 1f262a0 + aa086b7 commit 6233959

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zh-cn/pipeline/hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Vue.component('hook-example', {
8686

8787
- 如果 Promise 在验证阶段被 reject,系统会调用 `transition.abort`
8888

89-
- 如果 Promise 在激活阶段被 resolve,系统会调用 `transition.next`
89+
- 如果 Promise 在激活阶段被 reject,系统会调用 `transition.next`
9090

9191
- 对于验证类钩子( `canActivate``canDeactivate` ),如果 Promise resolve 之后的值是假值( falsy value ),系统会中断此次切换。
9292

0 commit comments

Comments
 (0)