|
@@ -5,6 +5,7 @@
|
|
|
style="height: calc(100vh - 100px)"
|
|
style="height: calc(100vh - 100px)"
|
|
|
frameborder="0"
|
|
frameborder="0"
|
|
|
allowfullscreen="true"
|
|
allowfullscreen="true"
|
|
|
|
|
+ id="iframe"
|
|
|
></iframe>
|
|
></iframe>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -17,7 +18,15 @@
|
|
|
return {};
|
|
return {};
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- methods: {}
|
|
|
|
|
|
|
+ methods: {},
|
|
|
|
|
+ created() {
|
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
|
+ let dom = document.getElementById('iframe');
|
|
|
|
|
+ console.log(dom.contentWindow.document, 'dom');
|
|
|
|
|
+ }, 5000);
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|
|
|
<style scoped lang="scss"></style>
|
|
<style scoped lang="scss"></style>
|