React 中 clearInterval为什么无效?-灵析社区
小青梅
我就不给你说原因了,解决方案是这个timer对象要么放在函数组件之外,要么用useRef包裹。
阅读量:1
点赞量:0
问AI