Commit Graph

57 Commits

Author SHA1 Message Date
afc163
fff4e01f14 remove JSON format limit, close #1248 2016-03-23 18:36:27 +08:00
z
598a3615e1 修复上传时的状态传递
onstart 时设置的是被封装后的对象的属性,这里直接传 file 的话没有 status/percent 属性.
2016-03-09 17:37:56 +08:00
Benjy Cui
c1659c2ce3 style: update code style to please lint 2016-02-22 10:52:30 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
yiminghe
798d15b4f0 update form 2016-01-30 19:00:56 +08:00
yiminghe
9c36b900bf fix(upload): fix default name value
do not set value to ''
2016-01-27 16:25:05 +08:00
afc163
66b7ee81ad fix eslint problems, eslint-config-airbnb@4.x 2016-01-23 15:22:16 +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
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
Benjy Cui
5699e61fd0 fix: uploadList should under the controll of beforeUpload #757 2015-12-28 14:16:34 +08:00
afc163
1f98c85e8a support preview picture in upload list, close #750 2015-12-27 15:32:37 +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
xiaosheng.lj
871be19528 fix upload multiple #579 2015-11-24 17:00: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
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
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
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