(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/editinfo"],{"359a":function(n,t,e){},3928:function(n,t,e){"use strict";e.r(t);var o=e("41e3"),u=e.n(o);for(var i in o)"default"!==i&&function(n){e.d(t,n,(function(){return o[n]}))}(i);t["default"]=u.a},"3c38":function(n,t,e){"use strict";(function(n){e("02cf");o(e("66fd"));var t=o(e("abc9"));function o(n){return n&&n.__esModule?n:{default:n}}n(t.default)}).call(this,e("543d")["createPage"])},"41e3":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=u(e("a34a"));function u(n){return n&&n.__esModule?n:{default:n}}function i(n,t,e,o,u,i,r){try{var a=n[i](r),c=a.value}catch(f){return void e(f)}a.done?t(c):Promise.resolve(c).then(o,u)}function r(n){return function(){var t=this,e=arguments;return new Promise((function(o,u){var r=n.apply(t,e);function a(n){i(r,o,u,a,c,"next",n)}function c(n){i(r,o,u,a,c,"throw",n)}a(void 0)}))}}var a={onLoad:function(n){this.newName=n.name,this.phone=n.phone},mounted:function(){},data:function(){return{isShowConfirm:!1,newName:"",phone:"",show:!1}},methods:{editName:function(){var t=r(o.default.mark((function t(){var e;return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$request.post("/api/v1/user/updateUser",{nickname:this.newName});case 2:e=t.sent,0==e.status&&(this.isShowConfirm=!1,n.showToast({title:"修改成功",icon:"none"}));case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),gotophone:function(){n.navigateTo({url:"editphone"})},gotopwd:function(){n.navigateTo({url:"paypassword"})}}};t.default=a}).call(this,e("543d")["default"])},abc9:function(n,t,e){"use strict";e.r(t);var o=e("d1f0"),u=e("3928");for(var i in u)"default"!==i&&function(n){e.d(t,n,(function(){return u[n]}))}(i);e("c82e");var r,a=e("f0c5"),c=Object(a["a"])(u["default"],o["b"],o["c"],!1,null,"e5c06582",null,!1,o["a"],r);t["default"]=c.exports},c82e:function(n,t,e){"use strict";var o=e("359a"),u=e.n(o);u.a},d1f0:function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){return o}));var o={uNoNetwork:function(){return e.e("uview-ui/components/u-no-network/u-no-network").then(e.bind(null,"36dd"))}},u=function(){var n=this,t=n.$createElement;n._self._c;n._isMounted||(n.e0=function(t){n.isShowConfirm=!0},n.e1=function(t){n.show=!0},n.e2=function(t){t.stopPropagation(),n.isShowConfirm=!1})},i=[]}},[["3c38","common/runtime","common/vendor"]]]);