Skip to content

Commit 40409cd

Browse files
author
Eric Zhao
committed
Update link.md
fixed error in this doc
1 parent 9a99630 commit 40409cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zh-cn/link.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@
5959

6060
- `v-link` 会自动设置 `<a>``href` 属性。
6161

62-
- 由于 `v-link` 是个[字面量指令](http://vuejs.org/guide/directives.html#Literal_Directives),它可以包含 mustache 标签例如 `v-link="/user/{% raw %}{{user.name}}{% endraw %}"`
62+
- 根据[Vue.js 1.0 binding syntax](https://github.com/vuejs/vue/issues/1325)`v-link` 不再支持包含 mustache 标签。可以用常规的JavaScript表达式代替 mustache 标签, 例如 `v-link="'user/' + user.name"`

0 commit comments

Comments
 (0)