1 |
- import{_ as i,d as _,P as d,i as u,j as l,n as p,S as e,ae as v,B as m,o as f,c as E,V as S}from"./index.bf41a5b5.js";const g={class:"w-[100vw] h-[100vh]","element-loading-text":"\u767B\u5F55\u4E2D"},h=_({__name:"index",setup(x){const{loginByToken:c}=d(),{query:a}=u(),{push:o}=l(),{VITE_SECRET_KEY:r}=S();return p(async()=>{try{const t=e.enc.Base64.parse(a.t).toString(e.enc.Utf8),n=e.AES.decrypt(t,r).toString(e.enc.Utf8),{token:s}=JSON.parse(n);await c(s),o("/welcome")}catch{o("/login")}}),(t,n)=>{const s=v("loading");return m((f(),E("div",g,null,512)),[[s,!0]])}}});var w=i(h,[["__file","C:/Users/Administrator/Desktop/projects/report-v3/src/views/accept/index.vue"]]);export{w as default};
|