提交 19db04f3 编写于 作者: C Curran Kelleher 提交者: Tim Neutkens

Iterate wording in documentation (#5718)

I came across **Possible spelling mistakes** #5496 and noticed that the current wording could be improved both in terms of accuracy and succinctness.
上级 8af767b5
......@@ -536,7 +536,7 @@ Router.beforePopState(({ url, as, options }) => {
});
```
If you return a `false` value from `beforePopState`, `Router` will not handle `popstate`;
If the function you pass into `beforePopState` returns `false`, `Router` will not handle `popstate`;
you'll be responsible for handling it, in that case.
See [Disabling File-System Routing](#disabling-file-system-routing).
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册