Skip to content

Commit 0ecd68a

Browse files
ts0307posva
authored andcommitted
chore(docs): 翻译有误 (#1970)
One consequence of this is that <router-link to="/"> will be active for every route! =>按照这个规则,`<router-link to="/">` 将会点亮各个路由! 翻译有误,应该改为: 按照这个规则,每个路由都会激活`<router-link to="/">` !
1 parent 1227d8c commit 0ecd68a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/zh-cn/api/router-link.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"是否激活" 默认类名的依据是 **inclusive match** (全包含匹配)。
100100
举个例子,如果当前的路径是 `/a` 开头的,那么 `<router-link to="/a">` 也会被设置 CSS 类名。
101101

102-
按照这个规则,`<router-link to="/">` 将会点亮各个路由!想要链接使用 "exact 匹配模式",则使用 `exact` 属性:
102+
按照这个规则,每个路由都会激活`<router-link to="/">`!想要链接使用 "exact 匹配模式",则使用 `exact` 属性:
103103

104104
``` html
105105
<!-- 这个链接只会在地址为 / 的时候被激活 -->

0 commit comments

Comments
 (0)