diff --git a/src/components/render-html.jsx b/src/components/render-html.jsx index 4ffcc72a..b24fc092 100644 --- a/src/components/render-html.jsx +++ b/src/components/render-html.jsx @@ -46,7 +46,7 @@ export default ({ let id = decodeURIComponent(u.split("#")[1]); let ele = document.getElementById(id); if(ele){ - window.scrollTo(0, ele.offsetTop + 220); + window.scrollTo(0, ele.offsetTop + 120); } } }