You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
780 B

import{T as e,W as t,_t as n,in as r,k as i,q as a}from"./vue.runtime.esm-bundler-CACvpnko.js";import{n as o,p as s,s as c}from"./api-Dpfxb1ca.js";import{f as l,p as u}from"./index-D5exsJys.js";var d={class:`container py-5 text-center`},f={key:0,class:`text-danger`},p={key:1,class:`text-secondary`},m=i({__name:`ParticipantImpersonateEntryView`,setup(i){let m=l(),h=u(),g=n(``);return t(()=>{let e=String(m.params.slug??``).trim(),t=String(m.query.token??``).trim();if(!e||!t){g.value=`代登参数无效`;return}localStorage.setItem(s,t),localStorage.setItem(c,e),sessionStorage.setItem(o,`1`),h.replace({name:`participant-apply`,params:{slug:e}})}),(t,n)=>(a(),e(`div`,d,[g.value?(a(),e(`p`,f,r(g.value),1)):(a(),e(`p`,p,`正在进入选手端…`))]))}});export{m as default};