docs: remove all v2 version tag

This commit is contained in:
chenjiahan
2021-01-10 19:08:09 +08:00
parent 0f7c088f9f
commit 51bc1cee8a
101 changed files with 525 additions and 527 deletions
+3 -3
View File
@@ -79,10 +79,10 @@ export default {
### IndexBar Events
| Event | Description | Arguments |
| --- | --- | --- |
| Event | Description | Arguments |
| ------ | --------------------------------- | ------------------------- |
| select | Emitted when an index is selected | _index: number \| string_ |
| change `v2.10.10` | Emitted when active index changed | _index: number \| string_ |
| change | Emitted when active index changed | _index: number \| string_ |
### IndexAnchor Slots
+7 -7
View File
@@ -83,10 +83,10 @@ export default {
### IndexBar Events
| 事件名 | 说明 | 回调参数 |
| ----------------- | ---------------------------- | ------------------------- |
| select | 点击索引栏的字符时触发 | _index: number \| string_ |
| change `v2.10.10` | 当前高亮的索引字符变化时触发 | _index: number \| string_ |
| 事件名 | 说明 | 回调参数 |
| ------ | ---------------------------- | ------------------------- |
| select | 点击索引栏的字符时触发 | _index: number \| string_ |
| change | 当前高亮的索引字符变化时触发 | _index: number \| string_ |
### 方法
@@ -106,9 +106,9 @@ export default {
通过 ref 可以获取到 IndexBar 实例并调用实例方法,详见[组件实例方法](#/zh-CN/advanced-usage#zu-jian-shi-li-fang-fa)。
| 方法名 | 说明 | 参数 | 返回值 |
| ------------------ | -------------- | ------------------------- | ------ |
| scrollTo `v2.12.2` | 滚动到指定锚点 | _index: number \| string_ | - |
| 方法名 | 说明 | 参数 | 返回值 |
| -------- | -------------- | ------------------------- | ------ |
| scrollTo | 滚动到指定锚点 | _index: number \| string_ | - |
### 样式变量