Skip to content

Commit

Permalink
docs(uploader): add thumb prop desc
Browse files Browse the repository at this point in the history
  • Loading branch information
landluck committed Dec 12, 2022
1 parent 2cfad3e commit af74936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/uploader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ uploadFilePromise(fileName, chooseResult) {
| --------- | ------------------------------------------------------ |
| `url` | 图片和视频的网络资源地址 |
| `name` | 文件名称,视频将在全屏预览时作为标题显示 |
| `thumb` | 图片缩略图或视频封面的网络资源地址,仅对图片和视频有效 |
| `thumb` | 图片缩略图或视频封面的网络资源地址,仅对图片和视频有效`accept``video`时,真机不会返回该属性,建议使用 `media``media-type` 配合完成视频上传 |
| `type` | 文件类型,可选值`image` `video` `file` |
| `isImage` | 手动标记图片资源 |
| `isVideo` | 手动标记视频资源 |
Expand Down

0 comments on commit af74936

Please sign in to comment.