mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(Uploader): add native attrs tip (#8746)
This commit is contained in:
parent
833064adbd
commit
41805992a3
@ -314,6 +314,8 @@ export default {
|
||||
| image-fit | Preview image fit mode | _string_ | `cover` |
|
||||
| upload-icon | 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 |
|
||||
|
@ -335,6 +335,8 @@ export default {
|
||||
| image-fit | 预览图裁剪模式,可选值见 [Image](#/zh-CN/image) 组件 | _string_ | `cover` |
|
||||
| upload-icon | 上传区域[图标名称](#/zh-CN/icon)或图片链接 | _string_ | `photograph` |
|
||||
|
||||
> 注意:accept、capture 和 multiple 为浏览器 input 标签的原生属性,移动端各种机型对这些属性的支持程度有所差异,因此在不同机型和 WebView 下可能出现一些兼容性问题。
|
||||
|
||||
### Events
|
||||
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
|
Loading…
x
Reference in New Issue
Block a user