Commit Graph

279 Commits

Author SHA1 Message Date
afc163
5476bf1afe fix previewFile error in uploadList 2015-12-28 13:07:47 +08:00
afc163
b1a136d208 improve uploadList previewFile 2015-12-27 16:00:40 +08:00
afc163
6f42cceb4a use file.url after thumbUrl 2015-12-27 15:43:49 +08:00
afc163
c2cb6ea1b1 fix previewFile, ref #750 2015-12-27 15:37:17 +08:00
afc163
1f98c85e8a support preview picture in upload list, close #750 2015-12-27 15:32:37 +08:00
afc163
0bd2ed9378 update upload style 2015-12-14 11:56:00 +08:00
afc163
721c00e925 fix className 2015-12-14 11:45:35 +08:00
afc163
7288dfbaf9 Add picture style upload list 2015-12-13 17:46:06 +08:00
afc163
6b4d7b3622 remove ref in Icon 2015-12-04 15:06:36 +08:00
afc163
16abf46071 Fix markdown eslint errors, update .eslintrc 2015-11-25 18:10:34 +08:00
xiaosheng.lj
871be19528 fix upload multiple #579 2015-11-24 17:00:34 +08:00
afc163
e058e67cb4 fix iconfont 2015-11-20 11:05:34 +08:00
afc163
3797f1adb3 update upload 2015-11-13 16:10:27 +08:00
afc163
b6ff796e71 update upload 2015-11-13 16:09:39 +08:00
xiaosheng.lj
3ea0225d61 feat add hover style 2015-11-11 00:28:05 +08:00
afc163
c044f62374 update upload style 2015-11-04 12:00:49 +08:00
xiaosheng.lj
851da67f48 style uploadList to showUploadList 2015-11-03 16:59:04 +08:00
xiaosheng.lj
9cb8bef1ad feat add uploadlist config and fix color 2015-11-03 16:59:04 +08:00
xiaosheng.lj
440f69a800 style color with tint 2015-11-03 16:59:04 +08:00
xiaosheng.lj
0cc8035678 feat add upload progress effect 2015-11-03 16:59:04 +08:00
Haibin Yu
0d2c6b2505 remove state items in uploadList.jsx 2015-10-29 00:06:39 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
Pyiner
776238eda9 fix _target to target 2015-10-24 15:14:53 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
Benjy Cui
5b86a4be1d refactor: replace button tag with Button component 2015-10-08 15:13:04 +08:00
elrrrrrrr
c540d124a5 chore: 迁移 upload iconfont 2015-10-02 16:52:34 +08:00
afc163
094ae9bbbf update upload document 2015-09-24 19:43:02 +08:00
afc163
961b990f07 upgrade rc-upload to 1.6.x 2015-09-21 11:34:14 +08:00
afc163
6854a83989 get filename 2015-09-20 13:56:14 +08:00
afc163
7d82eccb41 update upload list logic 2015-09-19 17:05:41 +08:00
afc163
6474cb378b Fix upload try logic 2015-09-18 23:31:07 +08:00
afc163
f266298553 update upload 2015-09-16 20:02:29 +08:00
afc163
74d8ecb1fd Fix IE9 file.status problem 2015-09-16 18:48:22 +08:00
afc163
fcc8c26166 Add error status for upload file item 2015-09-14 00:28:39 +08:00
afc163
d2fac30c7f update upload index.md 2015-09-09 22:41:51 +08:00
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
346337936a update multiple upload demo 2015-09-08 18:05:55 +08:00
afc163
f229f86a75 Fix multiple upload 2015-09-08 17:47:07 +08:00
afc163
f0a7167a49 use button[type="button"] to prevent default submit behavior 2015-09-08 16:02:43 +08:00
afc163
ff6697b951 Remove build-in message display in Upload component 2015-09-08 15:38:28 +08:00
afc163
691b0147b1 update eslintrc and fix code 2015-09-01 16:19:39 +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
3cc4a374db update docs 2015-08-27 15:57:25 +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
陈三
97f7be1832 fixed typo 2015-08-26 22:00:48 +08:00
afc163
bdf13797cb update documentation 2015-08-25 20:29:34 +08:00
afc163
f97e0c6c03 beta7 2015-08-24 21:16:00 +08:00
afc163
fdf19520d6 Add component type 2015-08-22 20:16:24 +08:00
afc163
7ae4b4ad76 use global index as upload item key 2015-08-22 14:45:03 +08:00
afc163
e23372b6e8 update upload animation code style 2015-08-21 17:37:54 +08:00
jljsj
ab09f9e537 add tag and uploadlist motion 2015-08-21 17:12:42 +08:00
afc163
1fd8703767 remove file.uid 2015-08-21 16:43:18 +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
翰文
c1b409662d chore: 更新upload文档和依赖版本 2015-08-18 17:31:37 +08:00
afc163
322e09210e close button should be visible at downloading status 2015-08-18 17:06:23 +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
9f1b188f87 fix remove logic in upload 2015-08-09 18:23:18 +08:00
afc163
f9157ab8c4 code style 2015-08-09 18:13:46 +08:00
afc163
dae05a55c4 merge 2015-08-09 18:05:50 +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
afc163
9a200ec782 update text 2015-08-05 21:18:34 +08:00
afc163
f62aa38ee8 Add components index.md 2015-08-01 14:08:04 +08:00
yiminghe
19e2c2700a stable 2015-07-30 21:55:16 +08:00
afc163
27353ca9b9 三期组件挖坑 2015-07-22 11:06:55 +08:00