This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
FumaoPublic
/
boxB
Watch
7
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
【测试postmessa通信】
master
GL
4 years ago
parent
2013fdd3c7
commit
f43fd0d432
1 changed files
with
6 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-1
src/views/login/index.vue
+ 6
- 1
src/views/login/index.vue
View File
@@ -72,7 +72,12 @@ export default {
})
})
},
},
mounted() {
window.addEventListener('message',function(event){
console.log(event,'++////***');
console.log( "收到" + event.origin + "消息:" + event.data);
}, false);
},
}
}
};
};
</script>
</script>
Write
Preview
Loading…
Cancel
Save