Skip to content

Commit

Permalink
Merge pull request #320 from yalishizhude/master
Browse files Browse the repository at this point in the history
translation supplement
  • Loading branch information
Jinjiang authored Jun 16, 2017
2 parents 159529b + 6386b6d commit fad2bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v2/guide/render-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Vue.component('anchored-heading', {
})
```

简单清晰很多!简单来说,这样代码精简很多,但是需要非常熟悉 Vue 的实例属性。在这个例子中,你需要知道当你不使用 `slot` 属性向组件中传递内容时,比如 `anchored-heading` 中的 `Hello world!`, 这些子元素被存储在组件实例中的 `$slots.default`中。如果你还不了解,** 在深入 render 函数之前推荐阅读 [instance properties API](../api/#vm-slots)**
简单清晰很多!简单来说,这样代码精简很多,但是需要非常熟悉 Vue 的实例属性。在这个例子中,你需要知道当你不使用 `slot` 属性向组件中传递内容时,比如 `anchored-heading` 中的 `Hello world!`, 这些子元素被存储在组件实例中的 `$slots.default`中。如果你还不了解,** 在深入 render 函数之前推荐阅读 [实例属性API](../api/#vm-slots)**

## `createElement` 参数

Expand Down

0 comments on commit fad2bcf

Please sign in to comment.