forked from Gitlink/forgeplus-react
目录跳转问题
This commit is contained in:
parent
010edf3cb2
commit
e04fb11194
|
@ -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">
|
||||
|
@ -64,7 +64,6 @@ function CoderDepotReadme({ operate , history , readme , ChangeFile }){
|
|||
</div>
|
||||
</Anchor>
|
||||
{
|
||||
content &&
|
||||
<div className="commonBox-info">
|
||||
<RenderHtml className="break_word_comments imageLayerParent" value={content} url={history.location}/>
|
||||
</div>
|
||||
|
|
|
@ -36,7 +36,7 @@ function ReadmeCatelogue({ menuList , hash }) {
|
|||
{
|
||||
menu && menu.length>0?
|
||||
<div className="anchorBox">
|
||||
<Anchor affix={false} onChange={onChange} offsetTop={140}>
|
||||
<Anchor affix={false} onChange={onChange} offsetTop={150}>
|
||||
{
|
||||
menu.map((item,key)=>{
|
||||
return(
|
||||
|
|
Loading…
Reference in New Issue