@hzab/form-render-mobile 1.2.2-beta1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hzab/form-render-mobile",
3
- "version": "1.2.2-beta1",
3
+ "version": "1.2.2",
4
4
  "description": "formily-form-render-mobile",
5
5
  "main": "src",
6
6
  "scripts": {
@@ -23,6 +23,7 @@ function Uploader(props, ref) {
23
23
  accept,
24
24
  disabled,
25
25
  readOnly,
26
+ readPretty,
26
27
  value,
27
28
  baseUrl = "",
28
29
  // 文件大小限制
@@ -268,7 +269,7 @@ function Uploader(props, ref) {
268
269
  onItemDel={onItemDel}
269
270
  headers={headers}
270
271
  />
271
- {disabled || readOnly || (maxCount > 0 && fileList.length >= maxCount) ? null : (
272
+ {disabled || readOnly || readPretty || (maxCount > 0 && fileList.length >= maxCount) ? null : (
272
273
  <>
273
274
  <div
274
275
  className={`uploader-add-btn ${loading ? "uploader-add-btn-loading" : ""}`}