Skip to content

Commit f148795

Browse files
committed
Merge pull request #38 from leftjs/patch-1
Update Glossary.md
2 parents bc81479 + 089d098 commit f148795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ type RouteConfig = Array<Route>;
200200
type RouteHook = (nextLocation?: Location) => any;
201201
```
202202
203-
*route hook* 是用于防止用户离开某个路由的函数。在正常的路由变换时,它接收下一个
203+
*route hook* 是用于防止用户离开某个路由的函数。在正常的路由变换时,它接收下一个
204204
[location](#location) 作为参数,并且必须 `return false` 以取消变换,或者 `return` 提示消息给用户。 当它在web浏览器的 `beforeunload ` 事件中被调用时,它不会接收任何参数,且必须 `return` 一个提示信息以取消变换。
205205
206206

0 commit comments

Comments
 (0)