IFrame-bdff2e6d.js 765 B

1
  1. import{d as i,ac as u,r as e,q as _,z as f,a as t,o as d,c as g,g as h,ao as p,K as y,_ as v,__tla as x}from"./index-62b7dfb7.js";let n,F=Promise.all([(()=>{try{return x}catch{}})()]).then(async()=>{let a;a=["src"],n=v(i({name:"IFrame",__name:"IFrame",props:{src:u.string.def("")},setup(l){const m=l,r=e(!0),s=e(""),c=e(null);return _(()=>{setTimeout(()=>{s.value=document.documentElement.clientHeight-94.5+"px",r.value=!1},300)}),(I,z)=>{const o=y;return f((d(),g("div",{style:p("height:"+t(s))},[h("iframe",{ref_key:"frameRef",ref:c,src:m.src,frameborder:"no",scrolling:"auto",style:{width:"100%",height:"100%"}},null,8,a)],4)),[[o,t(r)]])}}}),[["__file","D:/zhongxing/mall-newfeifan-zx-admin/src/components/IFrame/src/IFrame.vue"]])});export{n as _,F as __tla};