1import{_ as i,u as a,o as p,a as d,d as _,t as m}from"./index-BGhtAR9V.js";const f={class:"my-competition-redirect"},l={__name:"my-competition-redirect",setup(y){const n=d(),r=a(),s=e=>{var t,o;return(o=(t=e==null?void 0:e.result)!=null?t:e)!=null?o:{}};return p(async()=>{var o;let e=s(r.getInfo()),t=e==null?void 0:e.id;if(!t)try{const c=await r.fetchUserInfo();e=s((o=c==null?void 0:c.result)!=null?o:r.getInfo()),t=e==null?void 0:e.id}catch(c){e=s(r.getInfo()),t=e==null?void 0:e.id}if(!t){n.replace("/my");return}if(Number(e==null?void 0:e.role_id)===2){n.replace("/orgpersonalCenter/".concat(t));return}n.replace({path:"/personalCenter/".concat(t),query:{type:"competition"}})}),(e,t)=>(m(),_("div",f,"æ£å¨è·³è½¬æçç«èµ..."))}},I=i(l,[["__scopeId","data-v-6ee9c8dc"]]);export{I as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.