From 7826e42d92fc6fc04c8801310403a3b1173fc855 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sat, 17 Aug 2019 22:46:31 +0800 Subject: [PATCH] :memo: fix getCurrentAnchor version --- components/anchor/index.en-US.md | 2 +- components/anchor/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/anchor/index.en-US.md b/components/anchor/index.en-US.md index 7e6886b61f..10fd0b4a67 100644 --- a/components/anchor/index.en-US.md +++ b/components/anchor/index.en-US.md @@ -24,7 +24,7 @@ For displaying anchor hyperlinks on page and jumping between them. | offsetTop | Pixels to offset from top when calculating position of scroll | number | 0 | | | showInkInFixed | Whether show ink-balls in Fixed mode | boolean | false | | | onClick | set the handler to handle `click` event | Function(e: Event, link: Object) | - | 3.9.0 | -| getCurrentAnchor | Customize the anchor highlight | () => string | - | 3.21.0 | +| getCurrentAnchor | Customize the anchor highlight | () => string | - | 3.22.0 | | targetOffset | Anchor scroll offset, default as `offsetTop`, [example](#components-anchor-demo-targetOffset) | number | `offsetTop` | 3.22.0 | ### Link Props diff --git a/components/anchor/index.zh-CN.md b/components/anchor/index.zh-CN.md index 87695d4614..1d49fd1c70 100644 --- a/components/anchor/index.zh-CN.md +++ b/components/anchor/index.zh-CN.md @@ -25,7 +25,7 @@ title: Anchor | offsetTop | 距离窗口顶部达到指定偏移量后触发 | number | | | | showInkInFixed | 固定模式是否显示小圆点 | boolean | false | | | onClick | `click` 事件的 handler | Function(e: Event, link: Object) | - | 3.9.0 | -| getCurrentAnchor | 自定义高亮的锚点 | () => string | - | 3.21.0 | +| getCurrentAnchor | 自定义高亮的锚点 | () => string | - | 3.22.0 | | targetOffset | 锚点滚动偏移量,默认与 offsetTop 相同,[例子](#components-anchor-demo-targetOffset) | number | `offsetTop` | 3.22.0 | ### Link Props