"use strict";(self["webpackChunkyjk"]=self["webpackChunkyjk"]||[]).push([[207],{7207:function(e,n,t){t.r(n),t.d(n,{default:function(){return d}});var o=t(3396);const s=(0,o._)("div",{class:"flex-left pa-5 mt-3"}," 正在登录... ",-1),r=[s];function c(e,n,t,s,c,a){return(0,o.wg)(),(0,o.iD)("div",null,r)}t(2801);var a=t(3723),u=t(5803),l=t(1781),i=(0,o.aZ)({name:"WxCodeLogin",props:["css"],setup:()=>{const e=location.hash,n={};return e.replace(/([^?&=]+)=([^&]+)/g,((e,t,o)=>n[t]=o)),a.WX.code_login(n.code,"TJ").then((e=>{u.O.user.login(e.token),u.O.user.get_wx_info();const t=atob(n.state);l.Z.push(t)})).catch((e=>{console.error("登录失败",e)})),{}}}),f=t(89);const p=(0,f.Z)(i,[["render",c]]);var d=p}}]);