chore: update

This commit is contained in:
xiaoxian521
2023-06-22 00:38:07 +08:00
parent eed805414d
commit e362927e51
277 changed files with 303 additions and 299 deletions

1
dist/static/js/frameView-d33e21ea.js vendored Normal file
View File

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