PDF预览有时候出现如上图展示,有时真常,有时不合适
<iframe src="http://125.35.91.158:8099/group1/M00/02/AF/wKgAplxrloqAdR6NAAcOcVILFv0518.pdf" frameborder="0" style="width:1000px; height:600px;" scrolling="no"></iframe>
正常如下
代码:
<c:if test="${not empty XZCF_JY}">
<div style="font-size:20px ;text-align:center;margin-top: 20px;margin-bottom: 20px;width:1000px;" >简易行政处罚</div>
<iframe src="${XZCF_JY.fileUrl }" frameborder="0" style="width:1000px; height:600px;" scrolling="no"></iframe>
</c:if>