目录跳转问题

This commit is contained in:
hucong 2021-11-05 18:31:14 +08:00
parent 190200d1e6
commit 010edf3cb2
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ function ReadmeCatelogue({ menuList , hash }) {
{ {
menu && menu.length>0? menu && menu.length>0?
<div className="anchorBox"> <div className="anchorBox">
<Anchor affix={false} onChange={onChange}> <Anchor affix={false} onChange={onChange} offsetTop={140}>
{ {
menu.map((item,key)=>{ menu.map((item,key)=>{
return( return(