inputRef = React.createRef(); } onClick() { this.inputRef.current.focus(); } render() { return ( <div> <input ref={this.inputRef} /> <button ...
確定! 回上一頁