提交 1d048ffb 编写于 作者: guangjun.yang's avatar guangjun.yang

将定位到的元素

上级 342c648b
......@@ -312,7 +312,7 @@ export default {
this.$nextTick(() => {
setTimeout(() => {
let scrollTop = document.getElementById(`subject_${fIndex}_${subIndex}`).offsetTop;
window.scrollTo(0, scrollTop - 110);
window.scrollTo(0, scrollTop - 120);
}, 100);
});
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册