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
Copy file name to clipboardExpand all lines: components/upload/index.en-US.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ When uploading state change, it returns:
105
105
106
106
## FAQ
107
107
108
-
### How to implement upload server side?
108
+
### How do I implement upload server side?
109
109
110
110
- You can consult [jQuery-File-Upload](https://github.com/blueimp/jQuery-File-Upload/wiki#server-side) about how to implement server side upload interface.
111
111
- There is a mock example of [express](https://github.com/react-component/upload/blob/master/server.js) in rc-upload.
@@ -118,10 +118,10 @@ Please set property `url` of each item in `fileList` to control content of link.
118
118
119
119
See <https://github.com/react-component/upload#customrequest>.
120
120
121
-
### Why `fileList` in control will not trigger `change``status` update when file not in the list?
121
+
### Why will the `fileList`that's in control not trigger `change``status` update when the file is not in the list?
122
122
123
123
`change` only trigger when file in the list, it will ignore left events when removed from the list. Please note that there exist bug which makes event still trigger even the file is not in the list before `3.0.0-beta.10`.
### Why does`change`sometimes return File object and other times return { originFileObj: File }?
126
126
127
127
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.
0 commit comments