📅  最后修改于: 2022-03-11 15:02:23.046000             🧑  作者: Mango
window.scrollTo({top: 0, behavior: 'smooth'});
reference : https://stackoverflow.com/questions/15935318/smooth-scroll-to-top