| status | Upload status. Show different style when configured | `error` \| `success` \| `done` \| `uploading` \| `removed` | - | |
| uid | unique id. Will auto generate when not provided | string | - |
| thumbUrl | Thumb image url | string | - | |
| url | Download url | string | - |
| uid | unique id. Will auto generate when not provided | string | - | |
| url | Download url | string | - | |
### change
### change
@ -125,3 +126,11 @@ See <https://github.com/react-component/upload#customrequest>.
### Why does `change` sometimes return File object and other times return { originFileObj: File }?
### Why does `change` sometimes return File object and other times return { originFileObj: File }?
For compatible case, we return File object when `beforeUpload` return `false`. It will merge to `{ originFileObj: File }` in next major version. Current version is compatible to get origin file by `info.file.originFileObj`. You can change this before major release.
For compatible case, we return File object when `beforeUpload` return `false`. It will merge to `{ originFileObj: File }` in next major version. Current version is compatible to get origin file by `info.file.originFileObj`. You can change this before major release.
### Why sometime Chrome can not upload?
Chrome update will also break native upload. Please restart chrome to finish the upload work. Ref: