IFrame-e1343bd8.js 774 B

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