Skip to content

Commit a3321a0

Browse files
shupandeshupande
authored and
shupande
committed
首页v-指令例子和翻译优化
1 parent 62e411f commit a3321a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ var app2 = new Vue({
8484

8585
这里我们遇到点新东西。你看到的 `v-bind` 属性被称为**指令**。指令带有前缀 `v-`,以表示它们是 Vue.js 提供的特殊属性。可能你已经猜到了,它们会在渲染过的 DOM 上应用特殊的响应式行为。这个指令的简单含义是说:将这个元素节点的 `title` 属性和 Vue 实例的 `message` 属性绑定到一起。
8686

87-
你再次打开浏览器的控制台输入 `mapp2.message = 'some new message'`,你就会再一次看到这个绑定了`title`属性的HTML已经进行了更新。
87+
你再次打开浏览器的控制台输入 `app2.message = 'some new message'`,你就会再一次看到这个绑定了`title`属性的HTML已经进行了更新。
8888

8989
## 条件与循环
9090

0 commit comments

Comments
 (0)