公司小程序
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
3.0 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/WxLogin/WxLogin"],{225:function(n,e,t){"use strict";(function(n){t(3);o(t(2));var e=o(t(226));function o(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=t,n(e.default)}).call(this,t(0)["createPage"])},226:function(n,e,t){"use strict";t.r(e);var o=t(59),r=t(25);for(var u in r)"default"!==u&&function(n){t.d(e,n,(function(){return r[n]}))}(u);t(227);var a,i=t(1),c=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,"681b0ed8",null,!1,o["a"],a);c.options.__file="pages/WxLogin/WxLogin.vue",e["default"]=c.exports},227:function(n,e,t){"use strict";var o=t(27),r=t.n(o);r.a},25:function(n,e,t){"use strict";t.r(e);var o=t(26),r=t.n(o);for(var u in o)"default"!==u&&function(n){t.d(e,n,(function(){return o[n]}))}(u);e["default"]=r.a},26:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(t(5));function r(n){return n&&n.__esModule?n:{default:n}}function u(n,e,t,o,r,u,a){try{var i=n[u](a),c=i.value}catch(s){return void t(s)}i.done?e(c):Promise.resolve(c).then(o,r)}function a(n){return function(){var e=this,t=arguments;return new Promise((function(o,r){var a=n.apply(e,t);function i(n){u(a,o,r,i,c,"next",n)}function c(n){u(a,o,r,i,c,"throw",n)}i(void 0)}))}}var i={data:function(){return{SessionKey:"",OpenId:"",nickName:null,avatarUrl:null,isCanUse:n.getStorageSync("isCanUse")||!0}},methods:{doGetUserInfo:function(){var e=this;return a(o.default.mark((function t(){var r,u,a;return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=getApp().globalData.Player,r.clear(),n.clearStorageSync(),t.next=5,e.$utils.wechatLogin();case 5:u=t.sent,u&&(e.onBackTouched(u),a=e.$Define.FireKeys.WeChatLoginSuccess,e.$fire.fire(a,{status:!0}));case 7:case"end":return t.stop()}}),t)})))()},onBackTouched:function(){n.navigateBack()},onLoad:function(){}}};e.default=i}).call(this,t(0)["default"])},27:function(n,e,t){},59:function(n,e,t){"use strict";var o;t.d(e,"b",(function(){return r})),t.d(e,"c",(function(){return u})),t.d(e,"a",(function(){return o}));try{o={uNavbar:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-navbar/u-navbar")]).then(t.bind(null,505))},uGap:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-gap/u-gap")]).then(t.bind(null,509))}}}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 r=function(){var n=this,e=n.$createElement;n._self._c},u=[];r._withStripped=!0}},[[225,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/WxLogin/WxLogin.js.map