Commit 2526f95d authored by 黄奎's avatar 黄奎

1

parent 98d4e700
......@@ -451,16 +451,16 @@
}
}
//计算iframe高度
const iframe = document.getElementsByName("myIframe");
if (iframe) {
const iframeWindow = iframe.contentWindow;
if (iframeWindow && iframeWindow.document && iframeWindow.document.readyState === 'complete') {
const body = iframeWindow.document.body;
const viewportHeight = iframeWindow.innerHeight;
this.myIframeHeigth = body.scrollHeight || viewportHeight;
}
}
// //计算iframe高度
// const iframe = document.getElementsByName("myIframe");
// if (iframe) {
// const iframeWindow = iframe.contentWindow;
// if (iframeWindow && iframeWindow.document && iframeWindow.document.readyState === 'complete') {
// const body = iframeWindow.document.body;
// const viewportHeight = iframeWindow.innerHeight;
// this.myIframeHeigth = body.scrollHeight || viewportHeight;
// }
// }
this.iframeLoading = false;
},
// 添加编辑模版
......@@ -477,7 +477,6 @@
}
}
);
},
//重新加载行程特色
ReLoadFeature() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment