forked from Gitlink/forgeplus-react
Merge pull request '目录跳转问题' (#248) from hc1913847458/forgeplus-react:testdev into develop
This commit is contained in:
commit
ea979b78ee
|
@ -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">
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue