From: 188007803 <188007803@qq.com> Date: Wed, 9 Feb 2022 13:35:05 +0000 (+0800) Subject: Update index.md (#1302) X-Git-Tag: v4.0.13~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2894897abe4ab4d017cf421735ac14a1495e65d8;p=thirdparty%2Fvuejs%2Frouter.git Update index.md (#1302) --- diff --git a/docs/zh/guide/migration/index.md b/docs/zh/guide/migration/index.md index 31850646..e8cb932e 100644 --- a/docs/zh/guide/migration/index.md +++ b/docs/zh/guide/migration/index.md @@ -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 =>