docs(Uploader): add native attrs tip (#8747)

This commit is contained in:
neverland 2021-05-23 08:35:43 +08:00 committed by GitHub
parent aa6e95e59c
commit e5a326ee5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -272,6 +272,8 @@ export default {
| image-fit | Preview image fit mode | _string_ | `cover` |
| upload-icon `v2.5.4` | Upload icon | _string_ | `photograph` |
> Tips: accept, capture and multiple are the attributes of the native input tag, there may be some compatibility issues under different systems and WebView.
### Events
| Event | Description | Arguments |

View File

@ -302,6 +302,8 @@ export default {
| image-fit | 预览图裁剪模式,可选值见 [Image](#/zh-CN/image) 组件 | _string_ | `cover` |
| upload-icon `v2.5.4` | 上传区域[图标名称](#/zh-CN/icon)或图片链接 | _string_ | `photograph` |
> 注意accept、capture 和 multiple 为浏览器 input 标签的原生属性,移动端各种机型对这些属性的支持程度有所差异,因此在不同机型和 WebView 下可能出现一些兼容性问题。
### Events
| 事件名 | 说明 | 回调参数 |