Commit Graph

25 Commits

Author SHA1 Message Date
afc163
ea1a9f0a3d Fix multiple upload onChange event 2015-09-09 14:58:17 +08:00
afc163
897315784d Fix info.fileList in multiple upload 2015-09-08 18:26:18 +08:00
afc163
f229f86a75 Fix multiple upload 2015-09-08 17:47:07 +08:00
afc163
ff6697b951 Remove build-in message display in Upload component 2015-09-08 15:38:28 +08:00
yiminghe
af30f55e7a optimize 2015-09-01 11:26:33 +08:00
afc163
42708fe45d Refractor upload API
1. Remove limit urlResolver and onRemove
2. Remove onSuccess onProgress onError
3. Add onChange
4. Add fileList and defaultFileList props
2015-09-01 00:55:49 +08:00
afc163
f50342b2ba use onChange 2015-09-01 00:55:49 +08:00
afc163
03cc7cbffa Change variable name 2015-09-01 00:55:48 +08:00
afc163
e77cca572b Add limit prop for upload 2015-08-31 12:13:55 +08:00
afc163
f101c3231e Add urlResolver, support display remote file url in list
拿到请求回调数据里的远程文件地址,展示在文件列表中方便下载
2015-08-28 16:12:19 +08:00
yiminghe
065c16a95f fix download 2015-08-28 10:45:54 +08:00
yiminghe
30efa794d7 fix download 2015-08-27 17:51:21 +08:00
yiminghe
f9450f14df remove file on file failture 2015-08-27 17:35:10 +08:00
yiminghe
97ac458507 add res for upload 2015-08-27 16:53:53 +08:00
yiminghe
c2b4b60267 add onRemove for upload 2015-08-27 15:46:23 +08:00
yiminghe
61bd8abab0 add onRemove for upload 2015-08-27 15:45:38 +08:00
afc163
7ae4b4ad76 use global index as upload item key 2015-08-22 14:45:03 +08:00
afc163
727710c1eb Fix upload close file item bug 2015-08-21 16:19:28 +08:00
afc163
10284a997c Fix upload bug in safari and ie8/9, ref #138 2015-08-21 14:46:12 +08:00
afc163
1e7cf6d364 button should inside children 2015-08-18 17:05:56 +08:00
afc163
f9b7482b91 customize upload button children by user 2015-08-18 15:33:48 +08:00
afc163
ce5d7b9d9c update rc-upload to 1.3.0, modify onError arguments 2015-08-14 14:17:22 +08:00
afc163
f9157ab8c4 code style 2015-08-09 18:13:46 +08:00
afc163
b68ec83e36 优化 upload 实现
1. 使用 Upload.dragger 代替 type
2. 将拖拽上传的内容区域交给用户自己实现
3. 改进 uploadList 的实现方式, 尽量避免使用 Dom 操作
4. 优化样式展现
2015-08-09 18:00:20 +08:00
玄寂
63cf7bb742 feat: add upload component 2015-08-08 23:37:35 +08:00