|
@@ -814,8 +814,7 @@
|
|
|
确定
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
- <div v-html="iframeInnerHtml" ref="iframeIh" class="iframeBox">
|
|
|
- </div>
|
|
|
+ <div v-html="iframeInnerHtml" ref="iframeIh" class="iframeBox"></div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -828,7 +827,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- iframeInnerHtml:"",
|
|
|
+ iframeInnerHtml: "",
|
|
|
pdfUrl:
|
|
|
"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/0629%E5%AE%9E%E6%97%B6%E8%AF%BE%E5%A0%82%E6%A8%A1%E6%8B%9F%E6%BC%94%E7%A4%BA%E8%AF%BE%E4%BB%B61656920880446.pdf",
|
|
|
ppage: 2,
|
|
@@ -1218,7 +1217,7 @@ export default {
|
|
|
iframeBody = iframeHtml.contentWindow.document.body;
|
|
|
this.iframeInnerHtml = iframeBody.innerHTML;
|
|
|
var iframeIh = this.$refs.iframeIh;
|
|
|
- iframeIh.innerHTML = this.iframeInnerHtml
|
|
|
+ iframeIh.innerHTML = this.iframeInnerHtml;
|
|
|
this.$forceUpdate();
|
|
|
console.log(iframeIh);
|
|
|
// var iframeHtml = this.$refs.whiteBoard;
|
|
@@ -1767,9 +1766,12 @@ img {
|
|
|
.toolImg > div {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
-.iframeBox{
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- z-index: -2;
|
|
|
+.iframeBox {
|
|
|
+ overflow: auto;
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ z-index: -2;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
}
|
|
|
</style>
|