This commit is contained in:
谢思 2022-07-22 15:30:02 +08:00
parent b464d23955
commit 047ee8fae9
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ function Data(props){
</span>
}
</li>
{openResultTaskId && <iframe title={`htmlIframe_${key}`} src={lookResultUrl+e.task_id} id={`htmlIframe_${key}`} frameBorder="0" name={`htmlIframe_${key}`} width="100%" scrolling='no' onload={`this.height = htmlIframe_${key}.document.body.scrollHeight`}></iframe>}
{openResultTaskId && openResultTaskId === e.task_id && <iframe title={`htmlIframe_${key}`} src={lookResultUrl+e.task_id} id={`htmlIframe_${key}`} frameBorder="0" name={`htmlIframe_${key}`} width="100%" height='500px'></iframe>}
</div>
)
})