update docs

This commit is contained in:
yiminghe 2015-08-27 15:57:25 +08:00
parent c2b4b60267
commit 3cc4a374db
3 changed files with 5 additions and 20 deletions

View File

@ -15,12 +15,9 @@ var props = {
data: {},
accept: '',
uploadTip: '',
start: function(file){
console.log(file.name)
},
error: function() {},
success: function() {},
progress: function() {}
onStart(file){
console.log(file.uid);
}
};
React.render(

View File

@ -14,11 +14,7 @@ var props = {
action: '/upload.do',
data: {},
accept: '',
uploadTip: '',
error: function() {},
success: function() {},
progress: function() {},
start: function() {}
uploadTip: ''
};
React.render(

View File

@ -14,15 +14,7 @@ var props = {
action: '/upload.do',
data: {},
accept: 'i',
uploadTip: '',
error: function(err) {
console.log(err)
},
success: function() {},
progress: function() {},
start: function(file){
console.log(file)
}
uploadTip: ''
};
React.render(