From: Colin Date: Fri, 22 Oct 2021 09:31:28 +0000 (+0800) Subject: docs: fix RouteRecordRaw description (#1166) X-Git-Tag: v4.0.13~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fea5c5388d6c7649ac9cccb20a11a0a95b19cd6d;p=thirdparty%2Fvuejs%2Frouter.git docs: fix RouteRecordRaw description (#1166) Co-authored-by: Eduardo San Martin Morote --- diff --git a/docs/zh/api/index.md b/docs/zh/api/index.md index a4982dd9..820ef703 100644 --- a/docs/zh/api/index.md +++ b/docs/zh/api/index.md @@ -780,7 +780,7 @@ stringifyQuery?: ( ## RouteRecordRaw -当用户通过 [`routes` option](#routeroptions) 或者 [`router.addRoutes()`](#addroutes) 来添加路由时,可以得到路由记录。 有三种不同的路由记录: +当用户通过 [`routes` option](#routeroptions) 或者 [`router.addRoute()`](#addroute) 来添加路由时,可以得到路由记录。 有三种不同的路由记录: - 单一视图记录:有一个 `component` 配置 - 多视图记录 ([命名视图](../guide/essentials/named-views.md)) :有一个 `components` 配置