useRef 返回一個可變的ref 對象,其.current 屬性被初始化爲傳入的 ... timer = useRef(null) let timer2 useEffect(() => { let id = setInterval(() ...
確定! 回上一頁