PageSourceSearch

https://ai.xzit.edu.cn/openai/static/js/caslogin-CAABy5EG.js

js xzit.edu.cn collected 2026-10-05 22:12:46 UTC 1,261 bytes, 1 lines download raw bytes

1import{k as g,G as f,i as h,a as y,t as w,q as n,A as k,o as q,a2 as x}from"./vue-DaNdVMrz.js";import{u as E,x as I,s as l,y as L,z as T}from"./configInfo-BVHQT-Z6.js";import"./vendor-yC50Gzje.js";import{_ as P}from"./_plugin-vue_export-helper-DlAUqK2U.js";const S={class:"cas-login-loading"},v="当前链接不支持直接打开",M=g({__name:"caslogin",setup(N){const d=w(),t=k(),m=async()=>{var i;const{redirect:r,ticket:s}=d.query,o=r||"/",c=E();try{await c.getDomainInfo(o)}catch(e){n.error((e==null?void 0:e.message)||"域名验证失败"),t.replace({path:"/error",query:{redirect:o}});return}try{const e=(i=c.domainInfo)==null?void 0:i.loginType;if(e===1){const{data:a,msg:_}=await I(s,o);l(a);const{data:u}=await L(o),p=u;if(p)window.location.href=p;else throw new Error(_||v)}else if(e===2){const{data:a}=await T(s);a&&l(a),t.replace({path:o})}else n.error("登录方式不存在请联系管理员"),t.replace({path:"/error",query:{redirect:o}})}catch(e){n.error((e==null?void 0:e.message)||"登录失败"),t.replace({path:"/403",query:{redirect:o,message:e==null?void 0:e.message}})}};return f(()=>{m()}),(r,s)=>{const o=x;return q(),h("div",S,[y(o,{visible:!0,text:"登录中..."})])}}}),C=P(M,[["__scopeId","data-v-41d08c4b"]]);export{C 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.