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

1 lines
2.5 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/WxLogin/WxLogin"],{"4d6e":function(n,e,t){"use strict";(function(n){t("d6ad");u(t("66fd"));var e=u(t("73bb"));function u(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=t,n(e.default)}).call(this,t("543d")["createPage"])},"73bb":function(n,e,t){"use strict";t.r(e);var u=t("a604"),a=t("c690");for(var r in a)"default"!==r&&function(n){t.d(e,n,(function(){return a[n]}))}(r);t("7889");var o,c=t("f0c5"),i=Object(c["a"])(a["default"],u["b"],u["c"],!1,null,"2f18ea86",null,!1,u["a"],o);e["default"]=i.exports},7889:function(n,e,t){"use strict";var u=t("fc9f"),a=t.n(u);a.a},"9f86":function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=a(t("a34a"));function a(n){return n&&n.__esModule?n:{default:n}}function r(n,e,t,u,a,r,o){try{var c=n[r](o),i=c.value}catch(f){return void t(f)}c.done?e(i):Promise.resolve(i).then(u,a)}function o(n){return function(){var e=this,t=arguments;return new Promise((function(u,a){var o=n.apply(e,t);function c(n){r(o,u,a,c,i,"next",n)}function i(n){r(o,u,a,c,i,"throw",n)}c(void 0)}))}}var c={data:function(){return{SessionKey:"",OpenId:"",nickName:null,avatarUrl:null,isCanUse:n.getStorageSync("isCanUse")||!0}},methods:{doGetUserInfo:function(){var e=this;return o(u.default.mark((function t(){var a,r,o;return u.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=getApp().globalData.Player,a.clear(),n.clearStorageSync(),t.next=5,e.$utils.wechatLogin();case 5:r=t.sent,r&&(e.onBackTouched(r),o=e.$Define.FireKeys.WeChatLoginSuccess,e.$fire.fire(o,{status:!0}));case 7:case"end":return t.stop()}}),t)})))()},onBackTouched:function(){n.navigateBack()},onLoad:function(){}}};e.default=c}).call(this,t("543d")["default"])},a604:function(n,e,t){"use strict";t.d(e,"b",(function(){return a})),t.d(e,"c",(function(){return r})),t.d(e,"a",(function(){return u}));var u={uNavbar:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-navbar/u-navbar")]).then(t.bind(null,"17d2"))},uGap:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-gap/u-gap")]).then(t.bind(null,"5723"))}},a=function(){var n=this,e=n.$createElement;n._self._c},r=[]},c690:function(n,e,t){"use strict";t.r(e);var u=t("9f86"),a=t.n(u);for(var r in u)"default"!==r&&function(n){t.d(e,n,(function(){return u[n]}))}(r);e["default"]=a.a},fc9f:function(n,e,t){}},[["4d6e","common/runtime","common/vendor"]]]);