如何在hooks的元素使用useRef()數組多個multiple refs? ... useRef"; }; return ( <div> {/* 保存input 的ref 到inputEl */} <input ref={ inputEl } ...
確定! 回上一頁