[improvement] ImagePreview: add show-index prop (#1889)
This commit is contained in:
@@ -55,11 +55,12 @@ setTimeout(() => {
|
||||
|
||||
### 配置项
|
||||
|
||||
| 参数名 | 说明 | 类型 |
|
||||
|-----------|-----------|-----------|
|
||||
| images | 需要预览的图片 URL 数组 | `Array` |
|
||||
| startPosition | 图片预览起始位置索引 | `Number` |
|
||||
| onClose | 关闭时的回调函数 | `Function` |
|
||||
| 参数名 | 说明 | 类型 | 默认值 |
|
||||
|-----------|-----------|-----------|-----------|
|
||||
| images | 需要预览的图片 URL 数组 | `Array` | `[]` |
|
||||
| startPosition | 图片预览起始位置索引 | `Number` | `0` |
|
||||
| showIndex | 是否显示页码 | `Boolean` | `true` |
|
||||
| onClose | 关闭时的回调函数 | `Function` | - |
|
||||
|
||||
### 更新日志
|
||||
|
||||
|
||||
Reference in New Issue
Block a user