Skip to content

Commit 588cb53

Browse files
authored
options 是选项,不是选择
(could be either a plain options object or a constructor) options 是选项,不是选择
1 parent c407c16 commit 588cb53

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
@@ -789,7 +789,7 @@ type: api
789789
- **详细:**
790790

791791

792-
允许声明扩展另一个组件(可以是一个简单的选择对象或构造函数),而无需使用 `Vue.extend`。这主要是为了便于扩展单文件组件。
792+
允许声明扩展另一个组件(可以是一个简单的选项对象或构造函数),而无需使用 `Vue.extend`。这主要是为了便于扩展单文件组件。
793793

794794
这和 `mixins` 类似,区别在于,组件的选项需要比源组件被扩展有更高的优先级。
795795

0 commit comments

Comments
 (0)