afc163
664bb8ea08
hide upload button when no children in <Upload />
close
https://github.com/ant-design/ant-design/issues/1610#issuecomment-218075160
9 years ago
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
9 years ago
afc163
03cb74ead5
upgrade eslint-config-airbnb version and fix some problems
9 years ago
afc163
8116e775ff
upgrade devDeps and fix some eslint problems
9 years ago
tom
6614fb9746
fix bug
9 years ago
tom
353f2cb004
this未绑定
9 years ago
Benjy Cui
794783d1c2
style: enable react/no-multi-comp
9 years ago
Bruce Mitchener
0acce38f08
Convert more createClass over to extending Component.
9 years ago
Benjy Cui
5e4786440d
deps: remove object-assign
9 years ago
afc163
fff4e01f14
remove JSON format limit, close #1248
9 years ago
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.
9 years ago
Qiaosen Huang
d584b20dd8
add onPreview onRemove override on upload.
9 years ago
z
598a3615e1
修复上传时的状态传递
onstart 时设置的是被封装后的对象的属性,这里直接传 file 的话没有 status/percent 属性.
9 years ago
Benjy Cui
c1659c2ce3
style: update code style to please lint
9 years ago
Benjy Cui
29825f20c8
style: update code style to please lint
9 years ago
yiminghe
798d15b4f0
update form
9 years ago
yiminghe
9c36b900bf
fix(upload): fix default name value
do not set value to ''
9 years ago
afc163
66b7ee81ad
fix eslint problems, eslint-config-airbnb@4.x
9 years ago
afc163
64d96f071f
update picture card upload list style for more expansibility
9 years ago
kasinooya
4d0e873c88
Add upload listType: picture-card
9 years ago
Benjy Cui
41ed04e977
style: update code style to please lint
9 years ago
Benjy Cui
632cd36e63
chore: suppress warning
9 years ago
Benjy Cui
b72d18fd44
style: update code style to please the fucking lint
9 years ago
Benjy Cui
711d2d7413
style: update code style to please lint
9 years ago
Benjy Cui
5699e61fd0
fix: uploadList should under the controll of beforeUpload #757
9 years ago
afc163
1f98c85e8a
support preview picture in upload list, close #750
9 years ago
afc163
721c00e925
fix className
9 years ago
afc163
7288dfbaf9
Add picture style upload list
9 years ago
xiaosheng.lj
871be19528
fix upload multiple #579
9 years ago
afc163
3797f1adb3
update upload
9 years ago
afc163
b6ff796e71
update upload
9 years ago
xiaosheng.lj
3ea0225d61
feat add hover style
9 years ago
xiaosheng.lj
851da67f48
style uploadList to showUploadList
9 years ago
xiaosheng.lj
9cb8bef1ad
feat add uploadlist config and fix color
9 years ago
xiaosheng.lj
440f69a800
style color with tint
9 years ago
xiaosheng.lj
0cc8035678
feat add upload progress effect
9 years ago
afc163
6854a83989
get filename
9 years ago
afc163
7d82eccb41
update upload list logic
9 years ago
afc163
6474cb378b
Fix upload try logic
9 years ago
afc163
f266298553
update upload
9 years ago
afc163
74d8ecb1fd
Fix IE9 file.status problem
9 years ago
afc163
fcc8c26166
Add error status for upload file item
9 years ago
afc163
ea1a9f0a3d
Fix multiple upload onChange event
9 years ago
afc163
897315784d
Fix info.fileList in multiple upload
9 years ago
afc163
f229f86a75
Fix multiple upload
9 years ago
afc163
ff6697b951
Remove build-in message display in Upload component
9 years ago
yiminghe
af30f55e7a
optimize
9 years ago
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
9 years ago
afc163
f50342b2ba
use onChange
9 years ago
afc163
03cc7cbffa
Change variable name
9 years ago