You're missing the ref={this.test} prop.,React.createRef() is asynchronous so if you try to access the ref in componentDidMount, ...
確定! 回上一頁