index.df70804c.js 702 B

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