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
770 B
1 line
770 B
import{W as e,_t as t,in as n,k as r,q as i,w as a}from"./vue.runtime.esm-bundler-OsdSFvn7.js";import{a as o,d as s,n as c}from"./api-rQwE0AaH.js";import{l,u}from"./index-DFPdDGyr.js";var d={class:`container py-5 text-center`},f={key:0,class:`text-danger`},p={key:1,class:`text-secondary`},m=r({__name:`ParticipantImpersonateEntryView`,setup(r){let m=l(),h=u(),g=t(``);return e(()=>{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(o,e),sessionStorage.setItem(c,`1`),h.replace({name:`participant-apply`,params:{slug:e}})}),(e,t)=>(i(),a(`div`,d,[g.value?(i(),a(`p`,f,n(g.value),1)):(i(),a(`p`,p,`正在进入选手端…`))]))}});export{m as default}; |