document.querySelector(#xxx).scrollIntoView({
behavior: "smooth"
});
vue 锚点跳转(带滚动效果)
最新推荐文章于 2024-06-14 14:28:48 发布
document.querySelector(#xxx).scrollIntoView({
behavior: "smooth"
});