-
-
Notifications
You must be signed in to change notification settings - Fork 46.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[需求]upload组件允许设置最大上传数量 #1610
Comments
感谢! |
现在这个交互感觉很坑爹啊,用户先传上去,再直接slice掉,还以为是系统故障.... |
用 uploadList 的长度自行判断控制一下就好,那只是一个示范用例而已。 |
问题是,upload组件没有参数可以隐藏这个“上传”按钮... 现在我的做法是自己判断数量,然后加个class,对上传按钮做display:none |
隐藏这么基础的功能为啥要参数呢?用属性也要看基本法呢,不要没参数就干不了活呀... <Upload>
{this.state.fileList.length > 0 ? <Button>上传</Button> : null}
</Upload> |
|
我看看。 |
现在, |
赞效率!!! On Thu, May 12, 2016 at 5:04 PM, 偏右 notifications@github.com wrote:
Mao Xiaofeng(茅晓锋) |
这个改动有预期发布时间么?如果赶得上我们项目,我就把自己的兼容代码删了.... |
在 1.0.x 上修复,可能未来几天上。 估计你还是 0.12.x 的,未来改版再删吧。。。 |
我已经搞到1.0了,发布之后ping一下,我来升 On Thursday, 12 May 2016, 偏右 notifications@github.com wrote:
Mao Xiaofeng(茅晓锋) |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
http://ant.design/components/upload/
如题,咱这个组件能不能增加一个参数,指定最大上传文件数量?
The text was updated successfully, but these errors were encountered: