2 lines
748 B
JavaScript
2 lines
748 B
JavaScript
import{_ as l,r as s,v as u,B as d,S as m,M as p,f as e,o as _,c as f,l as h,O as g}from"./index.276e09af.js";const v=["src"],x={__name:"index",props:{src:{type:String,required:!0}},setup(n){const r=n,t=s(document.documentElement.clientHeight-94.5+"px;"),o=s(!0),c=u(()=>r.src);return d(()=>{setTimeout(()=>{o.value=!1},300),window.onresize=function(){t.value=document.documentElement.clientHeight-94.5+"px;"}}),(i,w)=>{const a=m("loading");return p((_(),f("div",{style:g("height:"+e(t))},[h("iframe",{src:e(c),frameborder:"no",style:{width:"100%",height:"100%"},scrolling:"auto"},null,8,v)],4)),[[a,e(o)]])}}},B=l(x,[["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/components/iFrame/index.vue"]]);export{B as i};
|