(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/auth"],{100:function(e,n,t){"use strict";t.r(n);var r=t(101),o=t(103);for(var u in o)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(u);var a,s=t(36),c=Object(s["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],a);c.options.__file="pages/index/auth.vue",n["default"]=c.exports},101:function(e,n,t){"use strict";t.r(n);var r=t(102);t.d(n,"render",(function(){return r["render"]})),t.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(n,"components",(function(){return r["components"]}))},102:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return a})),t.d(n,"recyclableRender",(function(){return u})),t.d(n,"components",(function(){return r}));var o=function(){var e=this,n=e.$createElement;e._self._c},u=!1,a=[];o._withStripped=!0},103:function(e,n,t){"use strict";t.r(n);var r=t(104),o=t.n(r);for(var u in r)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(u);n["default"]=o.a},104:function(e,n,t){"use strict";(function(e,r){var o=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=o(t(66)),a={name:"Auth",data:function(){return{}},created:function(){e.reLaunch({url:"/pages/index/index"})},methods:{loginByCode:function(n){var t=this;e.setStorageSync("loginStatus","false"),r.getUserInfo({success:function(r){console.error(r),u.default.post("/slbMpAutoLogin",{code:n,appType:"ma",encryptedData:r.encryptedData,iv:r.iv},{login:!1,warn:!1,loading:!1}).then((function(n){console.error(n),n.success?(e.setStorageSync("loginStatus","true"),e.setStorageSync("userMap",JSON.stringify(n.resultMap)),e.setStorageSync("userNo",n.resultMap.accountName),t.getUserInfo()):(console.error(12345),e.setStorageSync("loginStatus","false"),e.removeStorageSync("userMap"),e.removeStorageSync("userNo"),e.removeStorageSync("userInfo"),e.reLaunch({url:"/pages/index/index"})),console.error(n)}))}})},getUserInfo:function(){var n=this;u.default.post("/slbWxma/getPersonlInfo",{}).then((function(t){console.warn(t),t&&t.success?(n.personInfo=t.resultMap.userInfo||{},e.setStorageSync("userInfo",JSON.stringify(t.resultMap.userInfo)),e.reLaunch({url:"/pages/index/index"})):e.reLaunch({url:"/pages/index/index"}),console.warn(t)}))}}};n.default=a}).call(this,t(2)["default"],t(1)["default"])},99:function(e,n,t){"use strict";(function(e,n){var r=t(4);t(26);r(t(25));var o=r(t(100));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t(1)["default"],t(2)["createPage"])}},[[99,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/auth.js.map