[improvement] ImagePreview: add onClose params (#2197)

This commit is contained in:
neverland
2018-12-01 09:03:35 +08:00
committed by GitHub
parent d14f9cb5dc
commit 1b1e5caa19
7 changed files with 41 additions and 11 deletions

View File

@@ -61,8 +61,9 @@ You can set native properties such as `accpet`、`multiple` on Uploader, and the
|------|------|
| - | Custom icon |
### afterRead parematers
| Key | Description | Type |
### afterRead Parematers
| Attribute | Description | Type |
|------|------|------|
| file | file object | `Object` |
| content | file content | `String` |
| content | file content | `String` |

View File

@@ -60,7 +60,8 @@ export default {
| - | 自定义 uploader 内容 |
### after-read 回调参数
| key | 说明 | 类型 |
| 参数名 | 说明 | 类型 |
|------|------|------|
| file | 文件解析后的 file 对象 | `Object` |
| content | 文件内容 | `String` |