1 |
- import{d as s,e as t,p as n,i,A as c,B as r}from"./index.7994470a.js";const a="_scanLogin_13pd5_1",o="_iconPc_13pd5_6",L="_sure_13pd5_10",g="_tips_13pd5_16",u="_btnSection_13pd5_22",A="_cancelLogin_13pd5_28";var e={scanLogin:a,iconPc:o,sure:L,tips:g,btnSection:u,cancelLogin:A},d="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOQAAADICAMAAADP573yAAAAAXNSR0IArs4c6QAAAKtQTFRFAAAAM8yZKqqqKtWqJLaSIN+/M8yzLtGiLtG5Kr+qM8yzLMimLsmqMMisL8muMMqqL8asLseoLciqK8qtMMqrLsmrLcqtLsqrLMioLcurL8mrLsetLcirL8erLsWqLsirLcmqLcerLMipL8isLMiqLMipLcepLMirL8irLsirLciqLseqLcerLMeqLMepLMerLsirLcerLMirLsepLsirLceqLsirLcepLcequEIQPwAAADl0Uk5TAAUGBgcICgsLDBQXISUmMDEyMzU6PT5DRklMTk9SVFhaW1xcXWJxc3N0eHt8hIWFhoiLjIyNkZKTQ6mhIAAAAl1JREFUeNrt3dtO6lAURuFfkAKyPSAW8IBaRTnKSZD1/k+2L4zorGhM3Dva2THuaNKQLwQ6Z0KyJFstvulNluuQ0dbLSe8mrumTqu1xcNG4Xf2AGHVWwU2rTrTN2JgFV80a74jFbnBXt2iNlUFw2KDy1lgeBZeNyq/GQj84rV/YIJPgtuTFeBwcd/xsLE09I6clSdJFcN2FJEUL38hFJKkVnNeSNExfnCfN+lFGqzeTedozlPbSy8rZrjLd7ll6UdzTib3wdKjMd/hkTSe6thdO5aBTa7rWvXn9sOMBufNgUPeyry/lokv7yelx2xCU9eyg+ij7U3TgA3lgHxiy39F9H8h9qwIJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkN9H+gwkSJAgQYIECRIkSJC/Fxn/cVHMPgkSJEiQIP8NMheHbObiuNRcHHybiyOMc3EYdS6OFc/FAfEaprevedKsH2W0ejOZpz1DSS3vK3NLUrTwbVxEknTuG3kuSSpNPRunpW1DkLM2g2ri15hsHi2Fvldjv/D6AC2PfBpH5bdjQmXg0Tio2GGo2PVn7BbfzXyNmS/irLFtso06Kz/EVSf6YICvtsc+iON29bNFpRbf9ibLdVZ16+WkdxvX/vM2d2fe8+rrN16ZG+9+9coKEiRIkCBBggQJEiTIn+kH/ggIEiRIkCBBggQJEiTI7CP/AluY4aXPmBXTAAAAAElFTkSuQmCC",k=s({name:"ScanLogin",data(){return{code:this.$route.query.code}},async mounted(){try{await t.get("/api-auth/qrLogin",{params:{code:this.code}})}catch{}},methods:{async onSubmit(){try{await t.get("/api-auth/doQrLogin",{params:{code:this.code}}),n({api:"back",content:{}})}catch{}},onCancel(){n({api:"back",content:{}})}},render(){return i("div",{class:e.scanLogin},[i("img",{src:d,class:e.iconPc},null),i("div",{class:e.sure},[c("\u9177\u4E50\u79C0\u767B\u5F55\u786E\u8BA4")]),i("div",{class:["btnGroup",e.btnSection]},[i(r,{type:"primary",round:!0,block:!0,onClick:this.onSubmit},{default:()=>[c("\u786E\u8BA4\u767B\u5F55")]}),i("div",{class:e.cancelLogin,onClick:this.onCancel},[c("\u53D6\u6D88\u767B\u5F55")])])])}});export{k as default};
|