|
|
@ -21,7 +21,7 @@ class EvaluateSuccessEffectDisplay extends Component {
|
|
|
|
componentDidMount() {
|
|
|
|
componentDidMount() {
|
|
|
|
if (this.props.type == 'html') {
|
|
|
|
if (this.props.type == 'html') {
|
|
|
|
const iframe = document.getElementById('_displayIframe')
|
|
|
|
const iframe = document.getElementById('_displayIframe')
|
|
|
|
if (iframe && iframe.contentWindow) {
|
|
|
|
if (iframe && iframe.contentWindow && this.props.iframe_src) {
|
|
|
|
iframe.contentWindow.open()
|
|
|
|
iframe.contentWindow.open()
|
|
|
|
iframe.contentWindow.document.write(this.props.iframe_src);
|
|
|
|
iframe.contentWindow.document.write(this.props.iframe_src);
|
|
|
|
iframe.contentWindow.document.close();
|
|
|
|
iframe.contentWindow.document.close();
|
|
|
|