]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: typo (#1103)
authorHookin <45350455+LuckyHookin@users.noreply.github.com>
Wed, 6 Oct 2021 11:50:05 +0000 (19:50 +0800)
committerGitHub <noreply@github.com>
Wed, 6 Oct 2021 11:50:05 +0000 (13:50 +0200)
docs/zh/guide/advanced/lazy-loading.md

index 5f0f5c484602386d238c15a8704cfb878dca37cf..e0686f0d93f64106ff91b5eef25959c5956d77fd 100644 (file)
@@ -16,7 +16,7 @@ const router = createRouter({
 })
 ```
 
-`component` (和 `components`) 配置接收一个返回 Promise 组件的函数,Vue Router **只会在第一次进入页面时才会获取这个函数**,然后使用缓存数据。这意味着你也可以使更复杂的函数,只要它们返回一个 Promise :
+`component` (和 `components`) 配置接收一个返回 Promise 组件的函数,Vue Router **只会在第一次进入页面时才会获取这个函数**,然后使用缓存数据。这意味着你也可以使更复杂的函数,只要它们返回一个 Promise :
 
 ```js
 const UserDetails = () =>