mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
[improvement] ImagePreview: add onClose params (#2197)
This commit is contained in:
@@ -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` |
|
||||
|
@@ -60,7 +60,8 @@ export default {
|
||||
| - | 自定义 uploader 内容 |
|
||||
|
||||
### after-read 回调参数
|
||||
| key | 说明 | 类型 |
|
||||
|
||||
| 参数名 | 说明 | 类型 |
|
||||
|------|------|------|
|
||||
| file | 文件解析后的 file 对象 | `Object` |
|
||||
| content | 文件内容 | `String` |
|
||||
|
Reference in New Issue
Block a user