import{_ as m,d,w as s,m as v,l as r,x as p,at as h,H as x,o as g,c as k,h as w,y}from"./index.js";const D={class:"frame","element-loading-text":"\u52A0\u8F7D\u4E2D..."},V=["src"],E={name:"FrameView"},R=d({...E,setup(B){var f,_;const a=s(!1),o=v(),n=s(""),c=s(null);(f=r(o.meta))!=null&&f.frameSrc&&(n.value=(_=r(o.meta))==null?void 0:_.frameSrc);function i(){a.value=!1}function l(){y(()=>{const e=r(c);if(!e)return;const t=e;t.attachEvent?t.attachEvent("onload",()=>{i()}):e.onload=()=>{i()}})}return p(()=>{a.value=!0,l()}),(e,t)=>{const u=h("loading");return x((g(),k("div",D,[w("iframe",{src:n.value,class:"frame-iframe",ref_key:"frameRef",ref:c},null,8,V)])),[[u,a.value]])}}});var C=m(R,[["__scopeId","data-v-09fc7334"],["__file","C:/Users/89793/Desktop/projects/ticket-system/src/layout/frameView.vue"]]);export{C as default};
