We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5de11f commit ddc17a9Copy full SHA for ddc17a9
site/components/api.vue
@@ -1,5 +1,5 @@
1
<template>
2
- <div class='markdown api-container'>
+ <div class='markdown api-container' id="component-api">
3
<slot v-if="isZhCN" name="cn"></slot>
4
<slot v-else></slot>
5
</div>
site/components/demo.vue
@@ -46,6 +46,14 @@ export default {
46
<a-affix>
47
<ul id='demo-toc' class='toc'>
48
{lis}
49
+ <li title='API' key='API'>
50
+ <a
51
+ href='#component-api'
52
+ class={{
53
+ current: window.location.hash === '#component-api',
54
+ }}
55
+ >API</a>
56
+ </li>
57
</ul>
58
</a-affix>
59
)
0 commit comments