onload 事件在iframe载入完成后被触发。
载入过程中隐藏,onload触发时显示,当然这个过程中可以做一些动画,在load事件中控制动画的显示隐藏即可
<iframe id="iframe":src="`https://api.yxuer.com:8443/course/index.html#/answerPage/${userId}/${eval.questionGroupId}/${eval.id}/true`"
style="width:100%;height:800px; display: none;"onload="this.style.display='block'" :style="iframeStyle" frameborder="0"
scrolling="auto"></iframe>