提交 598a3615 编写于 作者: Z z

修复上传时的状态传递

onstart 时设置的是被封装后的对象的属性,这里直接传 file 的话没有 status/percent 属性.
上级 e5ba8b72
......@@ -142,7 +142,7 @@ const AntUpload = React.createClass({
targetItem.percent = e.percent;
this.onChange({
event: e,
file,
file: targetItem,
fileList: this.state.fileList
});
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册