Skip to content

Commit 0a1f49c

Browse files
authored
Merge pull request #165 from soyal/extends_translate_modify
修改了api中extends的说明
2 parents bb21b17 + b8a3314 commit 0a1f49c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/v2/api/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,10 +812,9 @@ type: api
812812

813813
- **详细:**
814814

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

818-
这和 `mixins` 类似,区别在于,组件的选项会比源组件被扩展有更高的优先级
817+
这和 `mixins` 类似,区别在于,组件自身的选项会比要扩展的源组件具有更高的优先级
819818

820819
- **示例:**
821820

0 commit comments

Comments
 (0)