pages-login-qywxLogin.sfy9ZXJZ.js 723 Bytes
import{f as o,K as a,h as e,c as t,d as s,w as n,i as r,o as d,x as i}from"./index-CuGRD9U9.js";import{_ as c}from"./_plugin-vue_export-helper.BCo6x5W8.js";const u=c({data:()=>({usercode:"",password:"",passwordHidden:!0}),onLoad:function(){localStorage.setItem("hasLogin",!0),o({title:"加载中..."}),a({url:"https://dj.ccnu.edu.cn/api/oauth/wechat/getCodeUrl",method:"GET",success:function(o){e(),window.location.href=o.data.msg},fail:o=>{console.error("请求失败",o),e(),t({title:"请求失败,请稍后再试",icon:"none"})}})}},[["render",function(o,a,e,t,c,u){const l=r;return d(),s(l,{style:{width:"96%",margin:"0 auto"}},{default:n((()=>[i(l)])),_:1})}],["__scopeId","data-v-37787e27"]]);export{u as default};