Skip to content

Update components-props.md #725

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/v2/guide/components-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Vue.component('blog-post', {
<blog-post v-bind:title="post.title"></blog-post>
```

在上述两个示例中,我们传入的值都是字符串类型的,但实际上_任何_类型的值都可以传给一个 prop。
在上述两个示例中,我们传入的值都是字符串类型的,但实际上*任何*类型的值都可以传给一个 prop。

### 传入一个数字

Expand Down