You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| showUploadList | Whether to show default upload list, could be an object to specify `showPreviewIcon`, `showRemoveIcon` and `showDownloadIcon` individually | Boolean or { showPreviewIcon?: boolean, showRemoveIcon?: boolean, showDownloadIcon?: boolean } | true | showDownloadIcon(3.0) ||
47
+
| showUploadList | Whether to show default upload list, could be an object to specify `showPreviewIcon`, `showRemoveIcon` and `showDownloadIcon` individually | Boolean or { showPreviewIcon?: boolean, showRemoveIcon?: boolean, showDownloadIcon?: boolean } | true | showDownloadIcon(3.0) ||
48
48
| supportServerRender | Need to be turned on while the server side is rendering. | boolean | false |||
49
49
| withCredentials | ajax upload with cookie sent | boolean | false |||
50
50
@@ -63,14 +63,15 @@ Uploading is the process of publishing information (web pages, text, pictures, v
| status | Upload status. Show different style when configured |`error`\|`success`\|`done`\|`uploading`\|`removed`| - ||
72
+
| thumbUrl | Thumb image url | string | - ||
73
+
| uid | unique id. Will auto generate when not provided | string | - ||
74
+
| url | Download url | string | - ||
74
75
75
76
### change
76
77
@@ -125,3 +126,11 @@ See <https://github.com/react-component/upload#customrequest>.
125
126
### Why does `change` sometimes return File object and other times return { originFileObj: File }?
126
127
127
128
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.
129
+
130
+
### Why sometime Chrome can not upload?
131
+
132
+
Chrome update will also break native upload. Please restart chrome to finish the upload work. Ref:
0 commit comments