]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs(zh): Update zh translation: navigation-guards.md (#1069)
authormarshcat0 <fanying5227@hotmail.com>
Wed, 11 Aug 2021 10:47:47 +0000 (18:47 +0800)
committerGitHub <noreply@github.com>
Wed, 11 Aug 2021 10:47:47 +0000 (12:47 +0200)
Co-authored-by: edison <daiwei521@126.com>
docs/zh/guide/advanced/navigation-guards.md

index 6d42549f2317e2a08aab7a3e663280bd5d73d4ba..99d8340e3d14cb98897abe929d4bc78617444e92 100644 (file)
@@ -86,7 +86,7 @@ router.beforeResolve(async to => {
 })
 ```
 
-`router.beforeResolve` 是一个理想的位置,可以在用户无法进入页面的情况下,获取数据或进行任何其他你想避免的操作
+`router.beforeResolve` 是获取数据或执行任何其他操作(如果用户无法进入页面时你希望避免执行的操作)的理想位置
 
 <!-- TODO: how to combine with [`meta` fields](./meta.md) to create a [generic fetching mechanism](#TODO). -->