如果是单纯的数据的话,那把ref 初始化成数组,然后按照数组的方式操作即可。 const listRef = useRef([]); useEffect(() => { const timer = setInterval ...
確定! 回上一頁