mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
update docs
This commit is contained in:
parent
c2b4b60267
commit
3cc4a374db
@ -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(
|
||||
|
@ -14,11 +14,7 @@ var props = {
|
||||
action: '/upload.do',
|
||||
data: {},
|
||||
accept: '',
|
||||
uploadTip: '',
|
||||
error: function() {},
|
||||
success: function() {},
|
||||
progress: function() {},
|
||||
start: function() {}
|
||||
uploadTip: ''
|
||||
};
|
||||
|
||||
React.render(
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user