首先对setInterval做了Hook化封装 . import { useEffect, useRef } from 'react' /** * interTerval hooks组件* @param fn 执行函数* @param delay ...
確定! 回上一頁