[Doc] props title

This commit is contained in:
陈嘉涵
2019-05-03 09:37:24 +08:00
parent 921f8a88fb
commit e3cb465dc2
101 changed files with 279 additions and 283 deletions
+3 -3
View File
@@ -57,7 +57,7 @@ You can set native properties such as `accpet`、`multiple` on Uploader, and the
</van-uploader>
```
### API
### Props
| Attribute | Description | Type | Default |
|------|------|------|------|
@@ -69,13 +69,13 @@ You can set native properties such as `accpet`、`multiple` on Uploader, and the
| after-read | Hook after reading the file | `Function` | - |
| max-size | Max size of file | `Number` | - |
### Event
### Events
| Event | Description | Arguments |
|------|------|------|
| oversize | Triggered when file size over limit | Same as after-read |
### Slot
### Slots
| Name | Description |
|------|------|
+3 -3
View File
@@ -55,7 +55,7 @@ export default {
</van-uploader>
```
### API
### Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
@@ -67,13 +67,13 @@ export default {
| after-read | 读取完成后的回调函数 | `Function` | - | - |
| max-size | 文件大小限制,单位为 byte | `Number` | - | - |
### Event
### Events
| 事件名 | 说明 | 回调参数 |
|------|------|------|
| oversize | 文件大小超过限制时触发 | 同 after-read |
### Slot
### Slots
| 名称 | 说明 |
|------|------|