IFrame-5ee0e528.js 782 B

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