公司小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
2.6 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/WxLogin/WxLogin"],{184:function(n,e,o){"use strict";(function(n){o(3);t(o(2));var e=t(o(185));function t(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=o,n(e.default)}).call(this,o(0)["createPage"])},185:function(n,e,o){"use strict";o.r(e);var t=o(34),i=o(19);for(var u in i)"default"!==u&&function(n){o.d(e,n,(function(){return i[n]}))}(u);o(186);var a,c=o(1),r=Object(c["a"])(i["default"],t["b"],t["c"],!1,null,"681b0ed8",null,!1,t["a"],a);r.options.__file="pages/WxLogin/WxLogin.vue",e["default"]=r.exports},186:function(n,e,o){"use strict";var t=o(21),i=o.n(t);i.a},19:function(n,e,o){"use strict";o.r(e);var t=o(20),i=o.n(t);for(var u in t)"default"!==u&&function(n){o.d(e,n,(function(){return t[n]}))}(u);e["default"]=i.a},20:function(n,e,o){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={data:function(){return{SessionKey:"",OpenId:"",nickName:null,avatarUrl:null,isCanUse:n.getStorageSync("isCanUse")||!0}},methods:{onBackTouched:function(){n.navigateBack({})},login:function(){n.showLoading({title:"登录中..."}),n.login({provider:"weixin",success:function(e){console.log(e);var o=e.code;n.request({url:"http://192.168.31.11:8888/app/v1/login/wechatlogin",data:{code:o},method:"POST",header:{"content-type":"application/json"},success:function(e){console.log("!!!!"),console.log(e),n.hideLoading()},fail:function(e){console.log(e),n.hideLoading()}})}})},onLoad:function(){}}};e.default=o}).call(this,o(0)["default"])},21:function(n,e,o){},34:function(n,e,o){"use strict";var t;o.d(e,"b",(function(){return i})),o.d(e,"c",(function(){return u})),o.d(e,"a",(function(){return t}));try{t={uNavbar:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/uview-ui/components/u-navbar/u-navbar")]).then(o.bind(null,452))},uGap:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/uview-ui/components/u-gap/u-gap")]).then(o.bind(null,453))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var n=this,e=n.$createElement;n._self._c},u=[];i._withStripped=!0}},[[184,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/WxLogin/WxLogin.js.map