Merge pull request '目录跳转问题' (#248) from hc1913847458/forgeplus-react:testdev into develop

This commit is contained in:
jasder 2021-11-08 14:34:11 +08:00
commit ea979b78ee
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ function CoderDepotReadme({ operate , history , readme , ChangeFile }){
return(
<div className="commonBox readBox" id="readme">
<Anchor offsetTop={70} targetOffset={160}>
<Anchor offsetTop={70}>
<div className="commonBox-title boxTitle">
<AlignCenter>
<Dropdown overlay={menu()} trigger={['hover']} overlayClassName="menuslist">

View File

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