index.67c3d0.js 687 B

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