diff --git a/src/image-preview/README.md b/src/image-preview/README.md index 3fb4392cb..f8e5e62c0 100644 --- a/src/image-preview/README.md +++ b/src/image-preview/README.md @@ -159,7 +159,7 @@ export default { | closed `v2.5.6` | Triggered after closed | - | | change | Triggered when current image change | index: index of current image | | scale `v2.5.0` | Triggered when current image scale | { index: index of current image, scale: scale of current image} | -| swipeTo `2.9.0` | Swipe to target index | index: target index, options: Options | void | +| swipeTo `2.9.0` | Swipe to target index | index: target index, options: Options | - | ### Slots diff --git a/src/image-preview/README.zh-CN.md b/src/image-preview/README.zh-CN.md index f5985e2ce..d9035a953 100644 --- a/src/image-preview/README.zh-CN.md +++ b/src/image-preview/README.zh-CN.md @@ -199,7 +199,7 @@ export default { | closed `v2.5.6` | 关闭且且动画结束后触发 | - | | change | 切换当前图片时触发 | index: 当前图片的索引 | | scale `v2.5.0` | 缩放当前图片时触发 | { index: 当前图片的索引, scale: 当前缩放的值 } | -| swipeTo `2.9.0` | 切换到指定位置 | index: number, options: Options | void | +| swipeTo `2.9.0` | 切换到指定位置 | index: number, options: Options | - | ### Slots diff --git a/src/swipe/README.md b/src/swipe/README.md index c1a3daef5..91cfae89e 100644 --- a/src/swipe/README.md +++ b/src/swipe/README.md @@ -193,8 +193,8 @@ Use [ref](https://vuejs.org/v2/api/#ref) to get Swipe instance and call instance | --- | --- | --- | --- | | prev `v2.4.2` | Swipe to prev item | - | - | | next `v2.4.2` | Swipe to next item | - | - | -| swipeTo | Swipe to target index | index: target index, options: Options | void | -| resize | Resize Swipe when container element resized | - | void | +| swipeTo | Swipe to target index | index: target index, options: Options | - | +| resize | Resize Swipe when container element resized or visibility changed | - | - | ### swipeTo Options diff --git a/src/swipe/README.zh-CN.md b/src/swipe/README.zh-CN.md index e4853ece0..ad78882ca 100644 --- a/src/swipe/README.zh-CN.md +++ b/src/swipe/README.zh-CN.md @@ -197,14 +197,14 @@ export default { ### Swipe 方法 -通过 ref 可以获取到 Swipe 实例并调用实例方法,详见[组件实例方法](#/zh-CN/advanced-usage#zu-jian-shi-li-fang-fa)。。 +通过 ref 可以获取到 Swipe 实例并调用实例方法,详见[组件实例方法](#/zh-CN/advanced-usage#zu-jian-shi-li-fang-fa)。 | 方法名 | 说明 | 参数 | 返回值 | | --- | --- | --- | --- | | prev `v2.4.2` | 切换到上一轮播 | - | - | | next `v2.4.2` | 切换到下一轮播 | - | - | -| swipeTo | 切换到指定位置 | index: number, options: Options | void | -| resize | 外层元素大小变化后,可以调用此方法来触发重绘 | - | void | +| swipeTo | 切换到指定位置 | index: number, options: Options | - | +| resize | 外层元素大小或组件显示状态变化时,可以调用此方法来触发重绘 | - | - | ### swipeTo Options 格式 diff --git a/src/tab/README.md b/src/tab/README.md index a0bf32707..39ac034de 100644 --- a/src/tab/README.md +++ b/src/tab/README.md @@ -269,8 +269,8 @@ Use [ref](https://vuejs.org/v2/api/#ref) to get Tabs instance and call instance | Name | Description | Attribute | Return value | | --- | --- | --- | --- | -| resize | Resize Tabs when container element resized | - | void | -| scrollTo `v2.9.3` | Go to specified tab in scrollspy mode | name | void | +| resize | Resize Tabs when container element resized or visibility changed | - | - | +| scrollTo `v2.9.3` | Go to specified tab in scrollspy mode | name | - | ### Tabs Slots diff --git a/src/tab/README.zh-CN.md b/src/tab/README.zh-CN.md index 89fc7ae53..650f99801 100644 --- a/src/tab/README.zh-CN.md +++ b/src/tab/README.zh-CN.md @@ -277,8 +277,8 @@ export default { | 方法名 | 说明 | 参数 | 返回值 | | --- | --- | --- | --- | -| resize | 外层元素大小变化后,可以调用此方法来触发重绘 | - | void | -| scrollTo `v2.9.3` | 滚动到指定的标签页,在滚动导航模式下可用 | name: 标识符 | void | +| resize | 外层元素大小或组件显示状态变化时,可以调用此方法来触发重绘 | - | - | +| scrollTo `v2.9.3` | 滚动到指定的标签页,在滚动导航模式下可用 | name: 标识符 | - | ### Tabs Slots