File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ HTML 最终将被渲染成为:
140
140
<my-component v-bind:class =" { active: isActive }" ></my-component >
141
141
```
142
142
143
- 当 ` isActive ` 为 truthy 的时候,HTML 将被渲染成为:
143
+ 当 ` isActive ` 为 truthy 值 (译者注:truthy 不是 ` true ` , [ 参考这里 ] ( https://developer.mozilla.org/zh-CN/docs/Glossary/Truthy ) ) 的时候,HTML 将被渲染成为:
144
144
145
145
``` html
146
146
<p class =" foo bar active" >Hi</p >
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ mustache 语法不能作用在 HTML 特性上,遇到这种情况应该使用 [
48
48
<div v-bind:id =" dynamicId" ></div >
49
49
```
50
50
51
- 这同样适用于布尔类特性,如果求值结果是 falsy 的值,则该特性将会被删除:
51
+ 这同样适用于布尔类特性,如果求值结果是 falsy 的值 (译者注:falsy 不是 ` false ` , [ 参考这里 ] ( https://developer.mozilla.org/zh-CN/docs/Glossary/Falsy ) ) ,则该特性将会被删除:
52
52
53
53
``` html
54
54
<button v-bind:disabled =" isButtonDisabled" >Button</button >
You can’t perform that action at this time.
0 commit comments