Skip to content

Commit 8318b73

Browse files
committed
docs: update add accept info, close #5986
1 parent 31430f5 commit 8318b73

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

components/upload/index.en-US.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Uploading is the process of publishing information (web pages, text, pictures, v
4444
| previewIcon | custom preview icon | v-slot:iconRender="{file: UploadFile}" | - | 3.0 | |
4545
| progress | Custom progress bar | [ProgressProps](/components/progress/#API) (support `type="line"` only) | { strokeWidth: 2, showInfo: false } | 3.0 | |
4646
| removeIcon | custom remove icon | v-slot:iconRender="{file: UploadFile}" | - | 3.0 | |
47-
| showUploadList | Whether to show default upload list, could be an object to specify `showPreviewIcon`, `showRemoveIcon` and `showDownloadIcon` individually | Boolean or { showPreviewIcon?: boolean, showRemoveIcon?: boolean, showDownloadIcon?: boolean } | true | showDownloadIcon(3.0) | |
47+
| showUploadList | Whether to show default upload list, could be an object to specify `showPreviewIcon`, `showRemoveIcon` and `showDownloadIcon` individually | Boolean or { showPreviewIcon?: boolean, showRemoveIcon?: boolean, showDownloadIcon?: boolean } | true | showDownloadIcon(3.0) | |
4848
| supportServerRender | Need to be turned on while the server side is rendering. | boolean | false | | |
4949
| withCredentials | ajax upload with cookie sent | boolean | false | | |
5050

@@ -110,6 +110,10 @@ When uploading state change, it returns:
110110
- You can consult [jQuery-File-Upload](https://github.com/blueimp/jQuery-File-Upload/wiki#server-side) about how to implement server side upload interface.
111111
- There is a mock example of [express](https://github.com/react-component/upload/blob/master/server.js) in rc-upload.
112112

113+
### How to select albums or folders on mobile devices?
114+
115+
You can set `:accept="null"`
116+
113117
### I want to display download links.
114118

115119
Please set property `url` of each item in `fileList` to control content of link.

components/upload/index.zh-CN.md

+4
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ cover: https://gw.alipayobjects.com/zos/alicdn/QaeBt_ZMg/Upload.svg
110110
- 服务端上传接口实现可以参考 [jQuery-File-Upload](https://github.com/blueimp/jQuery-File-Upload/wiki#server-side)
111111
- 如果要做本地 mock 可以参考这个 [express 的例子](https://github.com/react-component/upload/blob/master/server.js)
112112

113+
### 手机设备如何选择相册或文件夹?
114+
115+
你可以设置 `:accept="null"`
116+
113117
### 如何显示下载链接?
114118

115119
请使用 fileList 属性设置数组项的 url 属性进行展示控制。

0 commit comments

Comments
 (0)