index.62fea7fd.js 689 B

1
  1. import{_ as i,d as _,R as u,i as d,j as l,n as p,V as e,ag as v,B as f,o as g,c as m,X as E}from"./index.56449854.js";const h={class:"w-[100vw] h-[100vh]","element-loading-text":"\u767B\u5F55\u4E2D"},x=_({__name:"index",setup(S){const{loginByToken:c}=u(),{query:a}=d(),{push:o}=l(),{VITE_SECRET_KEY:r}=E();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 f((g(),m("div",h,null,512)),[[s,!0]])}}});var w=i(x,[["__file","C:/Users/89793/Desktop/projects/report-v3/src/views/accept/index.vue"]]);export{w as default};