As for now, i use this method, which works fine for me . const codeRef = useRef(undefined) ... function clear() { if(codeRef.current.
確定! 回上一頁