PageSourceSearch

https://vpn.cdutcm.edu.cn/assets/AlipayCallback-B7f6XQcH.js

js cdutcm.edu.cn collected 2026-10-02 05:10:41 UTC 1,373 bytes, 1 lines download raw bytes

1import{a as d}from"./auth-Bvec_zE4.js";import{_ as m,d as p,c as l,o as f,f as u,h as y,B as g,k as I,j as b}from"./index-Cey6Kqla.js";import{u as h}from"./user-V10Yxw5H.js";import{c as U}from"./urlConf-D5f8gSXt.js";import{g as k}from"./util-DyruD4Ub.js";import{S as q}from"./index-o4p_ZbnI.js";import{b as w}from"./request-B-CfM8d9.js";import"./auth-Crs8kf_D.js";import"./authMethod-CtTsQ3_a.js";import"./user-cwdmpEuP.js";import"./const-BHerojsC.js";import"./styleChecker-TFxV7Lzl.js";import"./index-DXhXwGTY.js";import"./initDefaultProps-_hAYIFu4.js";import"./fade-BdgfkLw7.js";const L=p({name:"AlipayCallback",setup(){const a=I(),r=h(),t=y({authLoading:!1});return g(async()=>{var e;const o=await r.getUserInfo();if(!((e=o==null?void 0:o.data)!=null&&e.userId))if(t.authLoading=!0,a.query.code){const i=decodeURIComponent(a.query.code),s={externalId:JSON.parse(atob(a.query.state)).externalId,data:JSON.stringify({code:i,deviceId:await k(),callbackUrl:encodeURI(U.alipayCallbackUrl),state:a.query.state})};await(async c=>{try{const{code:n}=await d(c);n===0&&(t.authLoading=!1,r.getUserInfo())}finally{t.authLoading=!1}})(s)}else w.error("认证失败")}),{...b(t)}}}),v={class:"callback-container"},G=m(L,[["render",function(a,r,t,o,e,i){const s=q;return f(),l("div",v,[u(s,{tip:"授权中...",size:"large"})])}],["__scopeId","data-v-7c090dcf"]]);export{G 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.