"use strict";(self["webpackChunkpblAdminTable"]=self["webpackChunkpblAdminTable"]||[]).push([[804],{4804:function(n,e,t){t.r(e),t.d(e,{default:function(){return a}});var o=function(){var n=this,e=n._self._c;return e("div",{staticClass:"login-window"},[e("button",{on:{click:n.getWechatQRCode}},[n._v("微信扫码登录")]),n.qrCodeUrl?e("div",[e("img",{attrs:{src:n.qrCodeUrl,alt:"微信登录二维码"}})]):n._e(),e("div",{attrs:{id:"login_container"}})])},i=[],r={data(){return{qrCodeUrl:null}},methods:{async getWechatQRCode(){const n=Math.random().toString(36).substring(2);new WxLogin({self_redirect:!0,id:"login_container",appid:"wxe9d7fff3c659445f",scope:"snsapi_login",redirect_uri:encodeURIComponent("https://cocorobo.cn"),state:n,style:"black",onReady:function(n){console.log(n)}})}},mounted(){}},c=r,l=t(1656),s=(0,l.A)(c,o,i,!1,null,"d56f2fce",null),a=s.exports}}]);
//# sourceMappingURL=804.121ecb18.js.map