功能代码是使用react hooks 写的,setInterval 并没有如我所愿的实现轮询的 ... 如果在hooks 中想要获取一个有记忆的count,这时候就会想起使用useRef ...
確定! 回上一頁