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