IFrame-ff1fc2dd.js 775 B

1
  1. import{d as u,ag as i,r as e,l as _,x as f,a as t,o as d,c as p,g as h,au as g,I as y,_ as I,__tla as v}from"./index-11e4820e.js";let l,x=Promise.all([(()=>{try{return v}catch{}})()]).then(async()=>{let a;a=["src"],l=I(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)}),(F,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 _,x as __tla};