23 lines
585 B
Markdown
23 lines
585 B
Markdown
|
<cn>
|
||
|
#### 静态位置
|
||
|
不浮动,状态不随页面滚动变化。
|
||
|
</cn>
|
||
|
|
||
|
<us>
|
||
|
#### Static Anchor
|
||
|
Do not change state when page is scrolling.
|
||
|
</us>
|
||
|
|
||
|
```html
|
||
|
<template>
|
||
|
<a-anchor :affix="false">
|
||
|
<a-anchor-link href="#components-anchor-demo-basic" title="Basic demo" />
|
||
|
<a-anchor-link href="#components-anchor-demo-static-anchor" title="Fixed demo" />
|
||
|
<a-anchor-link href="#API" title="API">
|
||
|
<a-anchor-link href="#Anchor-Props" title="Anchor Props" />
|
||
|
<a-anchor-link href="#Link-Props" title="Link Props" />
|
||
|
</a-anchor-link>
|
||
|
</a-anchor>
|
||
|
</template>
|
||
|
```
|