(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/set/userinfo"],{219:function(e,n,t){"use strict";(function(e){var n=t(3);t(25);n(t(24));var r=n(t(220));wx.__webpack_require_UNI_MP_PLUGIN__=t,e(r.default)}).call(this,t(1)["createPage"])},220:function(e,n,t){"use strict";t.r(n);var r=t(221),u=t(223);for(var c in u)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(c);t(225);var o,i=t(39),a=Object(i["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],o);a.options.__file="pages/set/userinfo.vue",n["default"]=a.exports},221:function(e,n,t){"use strict";t.r(n);var r=t(222);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"]}))},222:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return u})),t.d(n,"staticRenderFns",(function(){return o})),t.d(n,"recyclableRender",(function(){return c})),t.d(n,"components",(function(){return r}));var u=function(){var e=this,n=e.$createElement;e._self._c},c=!1,o=[];u._withStripped=!0},223:function(e,n,t){"use strict";t.r(n);var r=t(224),u=t.n(r);for(var c in r)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(c);n["default"]=u.a},224:function(e,n,t){"use strict";(function(e){var r=t(3);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=r(t(10)),c=t(27),o=t(176);function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function a(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?i(Object(t),!0).forEach((function(n){(0,u.default)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var s={data:function(){return{name:""}},computed:a({},(0,c.mapState)("user",["userInfo"])),onShow:function(e){this.name=this.userInfo.nickname+""},methods:{switchChange:function(e){this.addressData.default=e.value},confirm:function(){var n=this;(0,o.userEdit)({nickname:this.name,avatar:this.userInfo.avatar}).then((function(t){n.$api.msg("修改成功"),setTimeout((function(){e.switchTab({url:"/pages/user/user"})}),1e3),console.log(t)})).catch((function(e){console.log(e)}))}}};n.default=s}).call(this,t(1)["default"])},225:function(e,n,t){"use strict";t.r(n);var r=t(226),u=t.n(r);for(var c in r)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(c);n["default"]=u.a},226:function(e,n,t){}},[[219,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/set/userinfo.js.map