threethousanddream il y a 3 semaines
Parent
commit
e7c5b64194
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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')
     }
   },
 }