Commit Graph

74 Commits

Author SHA1 Message Date
afc163
129df7dc2a Fix removed upload item bug, close #2342 2016-07-12 12:09:12 +08:00
afc163
0977a656aa Fix default upload item link, close #2331 2016-07-09 17:22:48 +08:00
afc163
ec8a0821cd Fix controlled fileList prop, close #2236 2016-07-09 15:08:39 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
afc163
664bb8ea08 hide upload button when no children in <Upload />
close
https://github.com/ant-design/ant-design/issues/1610#issuecomment-218075160
2016-05-12 17:02:34 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
03cb74ead5 upgrade eslint-config-airbnb version and fix some problems 2016-04-29 12:13:27 +08:00
afc163
8116e775ff upgrade devDeps and fix some eslint problems 2016-04-18 14:58:38 +08:00
tom
6614fb9746 fix bug 2016-04-07 11:39:23 +08:00
tom
353f2cb004 this未绑定 2016-04-07 11:18:32 +08:00
afc163
b27c6ccc24 rebase and add demo & docs 2016-04-05 12:30:14 +08:00
Benjy Cui
794783d1c2 style: enable react/no-multi-comp 2016-03-31 17:46:35 +08:00
Bruce Mitchener
0acce38f08 Convert more createClass over to extending Component. 2016-03-29 16:33:37 +07:00
Benjy Cui
5e4786440d deps: remove object-assign 2016-03-25 18:16:48 +08:00
afc163
66179b2760 Merge master into develop-1.0.0 2016-03-23 18:41:58 +08:00
afc163
fff4e01f14 remove JSON format limit, close #1248 2016-03-23 18:36:27 +08:00
Bruce Mitchener
11c0a6a203 Name classes without Ant* prefix.
Where necessary, prefix the classes imported from react-component
with 'Rc' rather than prefixing the Ant classes with 'Ant'.

The prefixing of Ant classes wasn't consistent and isn't necessary
in many cases.
2016-03-21 20:16:38 +07:00
Qiaosen Huang
d584b20dd8 add onPreview onRemove override on upload. 2016-03-21 14:16:22 +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