import{_ as i,c,w as a,f as _,o as u,Q as l,k as m,p as o,v as p,t as f}from"./index-CZJgrp0v.js";const y={name:"ComponentName",data(){return{messageData:""}},onLoad(){window.addEventListener("message",this.onMessageFromParent),window.parent.postMessage({type:"H5_READY"},"*")},methods:{onMessageFromParent(e){if(e.origin!=="http://192.168.1.33:5072")return;let t=e.data;this.messageData=JSON.parse(t)},notifyReady(){}},mounted(){}};function g(e,t,x,h,n,s){const r=p,d=_("layout-default-uni");return u(),c(d,null,{default:a(()=>[l("div",null,[m(r,{onClick:s.notifyReady},{default:a(()=>[o("notifyReady")]),_:1},8,["onClick"]),o(" "+f(n.messageData),1)])]),_:1})}const k=i(y,[["render",g]]);export{k as default};
