File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ React.render(<Upload />, container);
58
58
| className | string | - | root component className |
59
59
| disabled | boolean | false | whether disabled |
60
60
| component | "div"| "span" | "span"| wrap component name |
61
- | onReady | function | | only call when supportServerRender is true, upload is rendered completely |
62
61
| action| string | ; function(file): string | ; Promise< ; string> ; | | form action url |
63
62
| method | string | post | request method |
64
63
| directory| boolean | false | support upload whole directory |
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ class Upload extends Component {
13
13
headers : { } ,
14
14
name : 'file' ,
15
15
multipart : false ,
16
- onReady : empty ,
17
16
onStart : empty ,
18
17
onError : empty ,
19
18
onSuccess : empty ,
@@ -24,10 +23,6 @@ class Upload extends Component {
24
23
openFileDialogOnClick : true ,
25
24
}
26
25
27
- componentDidMount ( ) {
28
- this . props . onReady ( ) ;
29
- }
30
-
31
26
abort ( file ) {
32
27
this . uploader . abort ( file ) ;
33
28
}
You can’t perform that action at this time.
0 commit comments