(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/register/register"],{"100d":function(e,t,n){"use strict";n.r(t);var r=n("60d0"),o=n("7824");for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);n("de6c");var u,i=n("f0c5"),c=Object(i["a"])(o["default"],r["b"],r["c"],!1,null,"5b200b8a",null,!1,r["a"],u);t["default"]=c.exports},"60d0":function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r}));var o=function(){var e=this,t=e.$createElement;e._self._c},a=[]},7824:function(e,t,n){"use strict";n.r(t);var r=n("d570"),o=n.n(r);for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=o.a},"8a6a":function(e,t,n){},d570:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("2f62");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i={data:function(){return{shouldNavback:!1}},computed:a({},(0,r.mapGetters)({user:"getUser"})),onLoad:function(e){"detail"==e.source&&(this.shouldNavback=!0)},methods:a(a(a({},(0,r.mapActions)(["updateUser"])),(0,r.mapMutations)(["setUser"])),{},{getPhoneNumber:function(t){var n=this,r=t.mp.detail,o=(n.user,{encryptedData:encodeURIComponent(r.encryptedData),iv:encodeURIComponent(r.iv)});n.$request.$get("WeChat_BusinessPhone",o).then((function(t){100===t.Result_Code?(n.setUser(t.Result_Data),n.updateUser(t.Result_Data),n.$util.toNextRoute("switchTab","/pages/index/index")):e.showToast({title:t.Result_Desc||"服务器错误,请联系管理员。",icon:"none"})}))},bindGetUserInfo:function(t){var n=this;n.user;t.mp.detail&&e.getUserInfo({success:function(t){var r={encryptedData:encodeURIComponent(t.encryptedData),iv:encodeURIComponent(t.iv)};n.$request.$get("WeChat_BusinessLicensed",r).then((function(t){if(100==t.Result_Code){var r=t.Result_Data;r.WeChat_MiniProToken=n.user.WeChat_MiniProToken,n.setUser(r),r.Membership_Phone&&(n.updateUser(r),n.$util.toNextRoute("switchTab","/pages/index/index")),n.$forceUpdate()}else e.showToast({title:t.ResultDesc,icon:"none",duration:2e3})}))}})}}),onUnload:function(){this.$util.addUserBehavior()}};t.default=i}).call(this,n("543d")["default"])},da44:function(e,t,n){"use strict";(function(e){n("40da");r(n("66fd"));var t=r(n("100d"));function r(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},de6c:function(e,t,n){"use strict";var r=n("8a6a"),o=n.n(r);o.a}},[["da44","common/runtime","common/vendor"]]]);