mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-24 23:49:14 +08:00
[Doc] fix uploader result-type
This commit is contained in:
parent
9899d97fbc
commit
207799d845
@ -169,4 +169,4 @@ In swipeable mode, you can switch tabs with swipe gestrue in the content
|
||||
| click | Triggered when click tab | index:index of current tab,title: tab title |
|
||||
| change | Triggered when active tab changed | index:index of current tab,title: tab title |
|
||||
| disabled | Triggered when click disabled tab | index:index of current tab, title: tab title |
|
||||
| scroll | Triggered when tab scroll | e:scroll arguments |
|
||||
| scroll | Triggered when tab scroll | Object: { scrollTop, isFixed } |
|
||||
|
@ -171,4 +171,4 @@ export default {
|
||||
| click | 点击标签时触发 | index:标签索引,title:标题 |
|
||||
| change | 当前激活的标签改变时触发 | index:标签索引,title:标题 |
|
||||
| disabled | 点击被禁用的标签时触发 | index:标签索引,title:标题 |
|
||||
| scroll | 滚动时触发 | e:滚动参数 |
|
||||
| scroll | 滚动时触发 | Object: { scrollTop: 距离顶部位置, isFixed: 是否吸顶 } |
|
||||
|
@ -40,7 +40,7 @@ export default {
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|-----------|-----------|-----------|-------------|
|
||||
| result-type | 文件读取结果类型,可选值为 `dataUrl` `test` | `String` | `dataUrl` |
|
||||
| result-type | 文件读取结果类型,可选值为 `dataUrl` `text` | `String` | `dataUrl` |
|
||||
| accept | 接受的文件类型 | `String` | `image/*` |
|
||||
| disabled | 是否禁用图片上传 | `Boolean` | `false` |
|
||||
| before-read | 读取前的回调函数,返回 false 可终止文件读取 | `Function` | - |
|
||||
|
Loading…
x
Reference in New Issue
Block a user