From e5a326ee5ab03189b6af16797e92ae9d0caab188 Mon Sep 17 00:00:00 2001 From: neverland Date: Sun, 23 May 2021 08:35:43 +0800 Subject: [PATCH] docs(Uploader): add native attrs tip (#8747) --- src/uploader/README.md | 2 ++ src/uploader/README.zh-CN.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/uploader/README.md b/src/uploader/README.md index 671f33462..775c4a6c3 100644 --- a/src/uploader/README.md +++ b/src/uploader/README.md @@ -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 | diff --git a/src/uploader/README.zh-CN.md b/src/uploader/README.zh-CN.md index 2d190d3b4..e821d85ec 100644 --- a/src/uploader/README.zh-CN.md +++ b/src/uploader/README.zh-CN.md @@ -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 | 事件名 | 说明 | 回调参数 |