... from 'react'; const Index: FC = () => { useLayoutEffect(() => { const fn = () => console.log('scrollY:', window.pageYOffset); window.
確定! 回上一頁