mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
docs(IndexBar): update props type (#11923)
This commit is contained in:
parent
0b9df74f8d
commit
2e6a7b99d0
@ -71,7 +71,7 @@ export default {
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
| --- | --- | --- | --- |
|
||||
| index-list | Index List | _string[] \| number[]_ | `A-Z` |
|
||||
| index-list | Index List | _(string \| number)[]_ | `A-Z` |
|
||||
| z-index | z-index | _number \| string_ | `1` |
|
||||
| sticky | Whether to enable anchor sticky top | _boolean_ | `true` |
|
||||
| sticky-offset-top | Anchor offset top when sticky | _number_ | `0` |
|
||||
|
@ -75,7 +75,7 @@ export default {
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| --- | --- | --- | --- |
|
||||
| index-list | 索引字符列表 | _string[] \| number[]_ | `A-Z` |
|
||||
| index-list | 索引字符列表 | _(string \| number)[]_ | `A-Z` |
|
||||
| z-index | z-index 层级 | _number \| string_ | `1` |
|
||||
| sticky | 是否开启锚点自动吸顶 | _boolean_ | `true` |
|
||||
| sticky-offset-top | 锚点自动吸顶时与顶部的距离 | _number_ | `0` |
|
||||
|
Loading…
x
Reference in New Issue
Block a user