提交 16c150fc 编写于 作者: D DCloud_LXH

fix: toc 显示问题

上级 dfaed51d
<template>
<Sticker v-show="visible" class="vuepress-toc" v-bind="$attrs" :style="{ top: initVisibleTop }">
<Sticker
:class="['vuepress-toc', visible ? '' : 'table-of-contents']"
v-bind="$attrs"
:style="{ top: initVisibleTop }"
>
<h5>ON THIS PAGE</h5>
<div
v-for="(item, index) in $page.headers"
......@@ -26,7 +30,7 @@
: 0;
}
export default {
mixins: [ toc ],
mixins: [toc],
components: {
Sticker,
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册