Xiaohan Lee
c23c0a6b16
Update docs for Table.render and Upload.onChange ( #7180 )
* Docs: fix invalid link in docs of Table.render
* Docs: add link for "onChange" in docs of Upload.onChange
7 years ago
Zheeeng
fdc8d357ef
Fix doc missing info ( #7175 )
7 years ago
peiming
426a35c248
docs: fix Upload[beforeUpload]
8 years ago
shlice
38a7a87690
feat: enhance handleRemove in Upload ( #5974 )
onRemove will be executed when removing file button is clicked, remove event will be prevented when return value is false.
But, if we want't to popup a confirm dialog, it can't block the execution of onRemove.
So, I add Promise support for onRemove. The return value of onRemove now can be a Promise, and the handleRemove function in Upload can wait for the non-blocking confirm dialog.
8 years ago
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
8 years ago
偏右
aa89addcc2
Improve upload list ( #4516 )
* support prevent removing when return value is false, close #4456
* Add showRemoveIcon & showPreviewIcon into showUploadList
close #4384 & #4351
* fix typo
8 years ago
afc163
dba6b70e38
update upload API, #863
8 years ago
Benjy Cui
a985c15872
deps: upgrade rc-upload
8 years ago
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
- Layout 更名为 Grid
8 years ago
Benjy Cui
27708b702c
docs: update docs for upload, ref: #3651
8 years ago
afc163
e0a986ed71
Update upload document
8 years ago
Benjy Cui
a40a8e914f
docs: add ref for upload, close : #3171
8 years ago
Benjy Cui
3f67fd3f9f
docs: update docs details
8 years ago
hellowenqi
a25b8b0658
docs: Translation upload ( #2770 )
8 years ago
ddcat1115
a5585bff77
fix #2571 #2518 #2645 增加disabled属性及取消上传时cancel请求 ( #2690 )
* fix #2571 #2518 use rc-upload@2.x abort
fix #2645 add `disabled`
* fix
8 years ago
afc163
089f1ae512
update components category name
9 years ago
Benjy Cui
8842d9342a
site: update components' type
9 years ago
afc163
45921c55e0
upgrade Upload
9 years ago
afc163
05b1e5d964
revert update API ( #1543 )
9 years ago
afc163
93faa0d7b8
update ( #1543 )
9 years ago
Benjy Cui
20e5146657
docs: add missing detail
9 years ago
Benjy Cui
df3ba36720
docs: remove useless newline in documentation
9 years ago
Benjy Cui
d5a6932c15
docs: update documentation format
9 years ago
Wei Zhu
4f541794e9
Update rc-upload to 1.9.0
9 years ago
afc163
f66a257ab9
update upload chinese name
9 years ago
afc163
229b0de3c6
upgrade rc-upload to 1.8.0, close #677
9 years ago
afc163
027a69b0f0
hide multiple upload demo
9 years ago
Benjy Cui
5699e61fd0
fix: uploadList should under the controll of beforeUpload #757
9 years ago
afc163
7288dfbaf9
Add picture style upload list
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
afc163
094ae9bbbf
update upload document
9 years ago
afc163
fcc8c26166
Add error status for upload file item
9 years ago
afc163
d2fac30c7f
update upload index.md
9 years ago
afc163
ea1a9f0a3d
Fix multiple upload onChange event
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
e77cca572b
Add limit prop for upload
9 years ago
afc163
f101c3231e
Add urlResolver, support display remote file url in list
拿到请求回调数据里的远程文件地址,展示在文件列表中方便下载
9 years ago
afc163
bdf13797cb
update documentation
9 years ago
afc163
fdf19520d6
Add component type
9 years ago
翰文
c1b409662d
chore: 更新upload文档和依赖版本
9 years ago
afc163
b68ec83e36
优化 upload 实现
1. 使用 Upload.dragger 代替 type
2. 将拖拽上传的内容区域交给用户自己实现
3. 改进 uploadList 的实现方式, 尽量避免使用 Dom 操作
4. 优化样式展现
9 years ago
玄寂
63cf7bb742
feat: add upload component
9 years ago
afc163
9a200ec782
update text
9 years ago
afc163
f62aa38ee8
Add components index.md
9 years ago
yiminghe
19e2c2700a
stable
9 years ago
afc163
27353ca9b9
三期组件挖坑
9 years ago