我们的示例与下面的示例非常相似,取自https://reactjs.org/docs/refs-and-the-dom.html#exposing-dom-refs-to-parent-components ... scrollIntoView使用React引用.
確定! 回上一頁