This commit is contained in:
zhutianqi
2021-11-24 17:50:33 +08:00
parent b089e7e2c9
commit be4d57198c
@@ -528,7 +528,7 @@ export default {
return el.offsetTop - el.parentNode.offsetTop; return el.offsetTop - el.parentNode.offsetTop;
} }
const offsetTop = getElementTop(domId) const offsetTop = getElementTop(domId)
/*$('#contentRight').children('.wrap-right').animate({scrollTop: offsetTop},500)*/ $('#contentRight').children('.wrap-right').animate({scrollTop: offsetTop},500)
} }
}, },
components: { components: {