IFrame-bf46a7c2.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,av as g,N as v,_ as y,__tla as F}from"./index-af173888.js";let l,I=Promise.all([(()=>{try{return F}catch{}})()]).then(async()=>{let a;a=["src"],l=y(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=v;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};