threethousanddream před 3 týdny
rodič
revize
e7c5b64194
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      pages/detail/bigdata.vue

+ 3 - 0
pages/detail/bigdata.vue

@@ -20,9 +20,12 @@ export default {
   },
   mounted() {
     let iframe = document.getElementById('iframe')
+    console.log('mounted')
     iframe.onload = () => {
+      console.log('onload')
       let token = Cookies.get('congress')
       iframe.contentWindow.postMessage({token: token, id: this.id}, '*')
+      console.log('sent')
     }
   },
 }