[Doc] update changelog
This commit is contained in:
@@ -48,7 +48,7 @@ setTimeout(() => {
|
||||
### Arguments
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|-----------|-----------|-----------|-----------|
|
||||
|------|------|------|------|
|
||||
| images | Images URL list | `Array` | `[]` |
|
||||
| startPosition | Start position | `Number` | `0` |
|
||||
| showIndex | Whether to show index | `Boolean` | `true` |
|
||||
|
||||
@@ -55,20 +55,9 @@ setTimeout(() => {
|
||||
|
||||
### 配置项
|
||||
|
||||
| 参数名 | 说明 | 类型 | 默认值 |
|
||||
|-----------|-----------|-----------|-----------|
|
||||
| images | 需要预览的图片 URL 数组 | `Array` | `[]` |
|
||||
| startPosition | 图片预览起始位置索引 | `Number` | `0` |
|
||||
| showIndex | 是否显示页码 | `Boolean` | `true` |
|
||||
| onClose | 关闭时的回调函数 | `Function` | - |
|
||||
|
||||
### 更新日志
|
||||
|
||||
| 版本 | 类型 | 内容 |
|
||||
|-----------|-----------|-----------|
|
||||
| 1.3.4 | feature | 新增 showIndex 属性 |
|
||||
| 1.1.16 | feature | 支持传入 onClose 回调函数
|
||||
| 1.1.13 | bugfix | 修复 startPosition 属性不生效的问题
|
||||
| 1.1.3 | bugfix | 修复只有一张图片时无法关闭的问题
|
||||
| 1.1.1 | bugfix | 修复 offset 计算错误
|
||||
| 1.0.5 | bugfix | 修复 close 方法失效的问题
|
||||
| 参数名 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| images | 需要预览的图片 URL 数组 | `Array` | `[]` | 1.1.16 |
|
||||
| startPosition | 图片预览起始位置索引 | `Number` | `0` | 1.1.16 |
|
||||
| showIndex | 是否显示页码 | `Boolean` | `true` | 1.3.4 |
|
||||
| onClose | 关闭时的回调函数 | `Function` | - | 1.1.16 |
|
||||
|
||||
Reference in New Issue
Block a user