src/pages/desktop/index/components/DFrame.vue
@@ -52,7 +52,6 @@ <script> import html2canvas from 'html2canvas'; export default { name: "DFrame", props: { @@ -86,14 +85,12 @@ } }, mounted() { console.log(document.querySelectorAll('iframe')) window.addEventListener('message', (d) => { let { source, trigger, menuT, menuL } = d.data; if (trigger == 'contextmenu') { this.openMenuList(menuT, menuL) } }); }, methods: { openMenuList(t, l, frame) {