]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
Update index.md (#1302)
author188007803 <188007803@qq.com>
Wed, 9 Feb 2022 13:35:05 +0000 (21:35 +0800)
committerGitHub <noreply@github.com>
Wed, 9 Feb 2022 13:35:05 +0000 (14:35 +0100)
docs/zh/guide/migration/index.md

index 31850646b7584f8314923843362e18c27ef1553b..e8cb932e3884469cfecdb3db3308e0d13eb3d71f 100644 (file)
@@ -213,7 +213,7 @@ app.config.globalProperties.append = (path, pathToAppend) =>
 
 ### 删除 `router.getMatchedComponents()`
 
-`router.getMatchedComponents` 方法现在被删除,因为匹配的组件可以从 `router.currentRoute.value.mixed` 中获取:
+`router.getMatchedComponents` 方法现在被删除,因为匹配的组件可以从 `router.currentRoute.value.matched` 中获取:
 
 ```js
 router.currentRoute.value.matched.flatMap(record =>