Commit 7046c885 authored by 刘殿昕's avatar 刘殿昕

打印监听

parent 673fea2e
......@@ -929,6 +929,7 @@ export default {
mounted() {
let self = this;
window.addEventListener("message", function (event) {
console.log(event);
if (event.origin == "https://apaasgis.wodcloud.com" && event.data) {
if (event.data.cmd == "getPortalItemInfo") {
console.log(event.data.params);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment