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
@@ -118,6 +118,7 @@ export default {
| preview-full-image | Whethe to show full screen image preview when click image | *boolean* | `true` | - |
| multiple | Whether to enable multiple selection pictures | *boolean* | `false` | - |
| disabled | Whether to disabled the upload | *boolean* | `false` | - |
| deletable | Whether to show delete icon | *boolean* | `true` | 2.2.12 |
| capture | Capturecan be set to `camera` | *string* | - | - |
| after-read | Hook after reading the file | *Function* | - | - |
| before-read | Hook before reading the file, return false to stop reading the file, can return Promise | *Function* | - | - |