使滚动条滚动(平滑的)到某个位置。
import { scrollTo } from '@hui-pro/utils'; scrollTo(el, to, duration); scrollTo(to, duration);
← debounce getBrowserInfo →