feat(Uploader): add deletable prop (#4925)

This commit is contained in:
neverland
2019-11-05 15:54:40 +08:00
committed by GitHub
parent fbb34a0f90
commit 0d3eec10b5
4 changed files with 20 additions and 1 deletions
+1
View File
@@ -134,6 +134,7 @@ export default {
| preview-full-image | 是否在点击预览图后展示全屏图片预览 | *boolean* | `true` | 2.1.5 |
| multiple | 是否开启图片多选,部分安卓机型不支持 | *boolean* | `false` | - |
| disabled | 是否禁用文件上传 | *boolean* | `false` | - |
| deletable | 是否展示删除按钮 | *boolean* | `true` | 2.2.12 |
| capture | 图片选取模式,可选值为`camera`(直接调起摄像头) | *string* | - | - |
| after-read | 文件读取完成后的回调函数 | *Function* | - | - |
| before-read | 文件读取前的回调函数,返回`false`可终止文件读取,支持返回`Promise` | *Function* | - | - |