您想渲染到iFrame的原因有很多,但主要好处是样式封装。 ... return iframe(this.props); ... 因此,我尝试在 componentDidMount 生命周期方法中构建iFrame内容。
確定! 回上一頁