Skip to content

Commit 00b68f6

Browse files
authored
Merge pull request volksbright#253 from zhouxinyong/patch-2
Update index.md
2 parents 639b434 + b099e30 commit 00b68f6

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
@@ -265,7 +265,7 @@ type: api
265265

266266
- **用法:**
267267

268-
注册或获取全局组件。注册自动用给的 `id` 做组件名称。
268+
注册或获取全局组件。注册还会自动使用给定的`id`设置组件的名称
269269

270270
``` js
271271
// 注册组件,传入一个扩展过的构造器

0 commit comments

Comments
 (0)