Skip to content

Commit cd6a384

Browse files
authored
指定已创建的实例之父实例
Specify the parent instance for the instance to be created. 指定已创建的实例之父实例
1 parent 3ba4ee9 commit cd6a384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ type: api
741741

742742
- **详细:**
743743

744-
指定实例的父实例,在两者之间建立父子关系。子实例可以用 `this.$parent` 访问父实例,子实例被推入父实例的 `$children` 数组中。
744+
指定已创建的实例之父实例,在两者之间建立父子关系。子实例可以用 `this.$parent` 访问父实例,子实例被推入父实例的 `$children` 数组中。
745745

746746
<p class="tip">同时使用 `$parent` 和 `$children` 有冲突 - 他们作为同一个入口 。更推荐用 props 和 events 实现父子组件通信</p>
747747

0 commit comments

Comments
 (0)