Browse Source

docs: add Image onError doc (#29180)

pull/29182/head
骗你是小猫咪 4 years ago
committed by GitHub
parent
commit
7344bbc7e5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      components/image/index.en-US.md
  2. 1
      components/image/index.zh-CN.md

1
components/image/index.en-US.md

@ -24,6 +24,7 @@ Previewable image.
| preview | preview config, disabled when `false` | boolean \| [previewType](#previewType) | true | 4.6.0 [previewType](#previewType):4.7.0 |
| src | Image path | string | - | 4.6.0 |
| width | Image width | string \| number | - | 4.6.0 |
| onError | Load failed callback | (event: Event) => void | - | 4.12.0 |
### previewType

1
components/image/index.zh-CN.md

@ -25,6 +25,7 @@ cover: https://gw.alipayobjects.com/zos/antfincdn/D1dXz9PZqa/image.svg
| preview | 预览参数,为 `false` 时禁用 | boolean \| [previewType](#previewType) | true | 4.6.0 [previewType](#previewType):4.7.0 |
| src | 图片地址 | string | - | 4.6.0 |
| width | 图像宽度 | string \| number | - | 4.6.0 |
| onError | 加载错误回调 | (event: Event) => void | - | 4.12.0 |
### previewType

Loading…
Cancel
Save