first commit

This commit is contained in:
teasiu
2025-11-03 15:27:16 +08:00
commit 125598252c
1115 changed files with 60648 additions and 0 deletions

View File

@@ -0,0 +1 @@
import{d as u,n as o,Y as v,f as a,t as p,b as g,w as h,o as w,c as x,g as V,J as k,_ as R}from"./index-4789ca0a.js";const y={class:"frame","element-loading-text":"加载中..."},B=["src"],E=u({name:"FrameView",__name:"frameView",setup(S){var f,_,l;const r=o(!0),t=v(),c=o(""),i=o(null);(f=a(t.meta))!=null&&f.frameSrc&&(c.value=(_=a(t.meta))==null?void 0:_.frameSrc),((l=a(t.meta))==null?void 0:l.frameLoading)===!1&&n();function n(){r.value=!1}function m(){k(()=>{const e=a(i);if(!e)return;const s=e;s.attachEvent?s.attachEvent("onload",()=>{n()}):e.onload=()=>{n()}})}return p(()=>{m()}),(e,s)=>{const d=g("loading");return h((w(),x("div",y,[V("iframe",{src:c.value,class:"frame-iframe",ref_key:"frameRef",ref:i},null,8,B)])),[[d,r.value]])}}});const L=R(E,[["__scopeId","data-v-d038a369"]]);export{L as default};