[Doc] fix uploader result-type

This commit is contained in:
陈嘉涵 2018-08-31 14:26:32 +08:00
parent 9899d97fbc
commit 207799d845
3 changed files with 3 additions and 3 deletions

View File

@ -169,4 +169,4 @@ In swipeable mode, you can switch tabs with swipe gestrue in the content
| click | Triggered when click tab | indexindex of current tabtitle: tab title |
| change | Triggered when active tab changed | indexindex of current tabtitle: tab title |
| disabled | Triggered when click disabled tab | indexindex of current tab, title: tab title |
| scroll | Triggered when tab scroll | escroll arguments |
| scroll | Triggered when tab scroll | Object: { scrollTop, isFixed } |

View File

@ -171,4 +171,4 @@ export default {
| click | 点击标签时触发 | index标签索引title标题 |
| change | 当前激活的标签改变时触发 | index标签索引title标题 |
| disabled | 点击被禁用的标签时触发 | index标签索引title标题 |
| scroll | 滚动时触发 | e滚动参数 |
| scroll | 滚动时触发 | Object: { scrollTop: 距离顶部位置, isFixed: 是否吸顶 } |

View File

@ -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` | - |