提交 ee4877a3 编写于 作者: B Benjy Cui

site: fix toc

上级 30be05e5
......@@ -66,7 +66,7 @@ export default class ComponentDoc extends React.Component {
<li key={demo.id}>
<Link className={ demo.id === scrollTo ? 'current' : ''}
to={{ pathname: location.pathname, query: { scrollTo: `${demo.id}` } }}>
{ demo.meta.chinese || demo.meta.english }
{ demo.meta.title }
</Link>
</li>
);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册