这篇文章我们来学习下React Hook 中useRef 的使用方法。 ... let handleSubmit = () => { console.log(ref.current?.value) } return ( <div className="App"> <input ...
確定! 回上一頁