Commit Graph

38 Commits

Author SHA1 Message Date
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +08:00
yiminghe
65b338de2b fix(upload): fix upload when edit
instanceof check error
2016-01-26 19:55:19 +08:00
afc163
64d96f071f update picture card upload list style for more expansibility 2016-01-16 16:39:52 +08:00
kasinooya
12c792147e Merge develop-0.12.0 into HEAD 2016-01-15 16:11:31 +08:00
kasinooya
a6f68b2d37 fix eslint error 2016-01-15 15:57:41 +08:00
kasinooya
4d0e873c88 Add upload listType: picture-card 2016-01-15 15:56:06 +08:00
Benjy Cui
41ed04e977 style: update code style to please lint 2016-01-14 16:46:38 +08:00
Benjy Cui
632cd36e63 chore: suppress warning 2016-01-11 09:49:31 +08:00
Benjy Cui
b72d18fd44 style: update code style to please the fucking lint 2016-01-11 09:49:30 +08:00
Benjy Cui
711d2d7413 style: update code style to please lint 2016-01-11 09:49:30 +08:00
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
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
e058e67cb4 fix iconfont 2015-11-20 11:05:34 +08:00
afc163
c044f62374 update upload style 2015-11-04 12:00:49 +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
Pyiner
776238eda9 fix _target to target 2015-10-24 15:14:53 +08:00
elrrrrrrr
c540d124a5 chore: 迁移 upload iconfont 2015-10-02 16:52:34 +08:00
afc163
691b0147b1 update eslintrc and fix code 2015-09-01 16:19:39 +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
f101c3231e Add urlResolver, support display remote file url in list
拿到请求回调数据里的远程文件地址,展示在文件列表中方便下载
2015-08-28 16:12:19 +08:00
yiminghe
61bd8abab0 add onRemove for upload 2015-08-27 15:45:38 +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
322e09210e close button should be visible at downloading status 2015-08-18 17:06:23 +08:00
afc163
9f1b188f87 fix remove logic in upload 2015-08-09 18:23:18 +08:00
afc163
b68ec83e36 优化 upload 实现
1. 使用 Upload.dragger 代替 type
2. 将拖拽上传的内容区域交给用户自己实现
3. 改进 uploadList 的实现方式, 尽量避免使用 Dom 操作
4. 优化样式展现
2015-08-09 18:00:20 +08:00