Skip to content

Commit 6eb6c74

Browse files
committed
fix
1 parent f787084 commit 6eb6c74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/api/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
11111111

11121112
- **用法:**
11131113

1114-
听一个自定义事件,但是只触发一次,在第一次触发之后删除监听器。
1114+
监听一个自定义事件,但是只触发一次,在第一次触发之后删除监听器。
11151115

11161116
<h3 id="vm-off">vm.$off( [event, callback] )</h3>
11171117

@@ -1149,9 +1149,9 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
11491149

11501150
- **用法:**
11511151

1152-
如果 Vue 实例在实例化时没有收到 el 选项,则它处于“未挂载”状态,没有关联的 DOM 元素或片断。可以使用 vm.$mount() 手动地开始挂载/编译未挂载的实例
1152+
如果 Vue 实例在实例化时没有收到 el 选项,则它处于“未挂载”状态,没有关联的 DOM 元素或片断。可以使用 vm.$mount() 手动地挂载一个未挂载的实例
11531153

1154-
如果没有"elementOrSelector"参数,模板将被创建为文档之外的的片断,需要手工用其它的 DOM 实例方法把它插入文档中。如果 replace 选项为 false,则自动创建一个空 <code><div></code>,作为包装元素
1154+
如果没有"elementOrSelector"参数,模板将被渲染为文档之外的的元素,并且你必须使用原生DOM API把它插入文档中
11551155

11561156
这个方法返回实例自身,因而可以链式调用其它实例方法。
11571157

0 commit comments

Comments
 (0)