(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-me-changeName"],{"0859":function(t,e,n){"use strict";n.r(e);var a=n("5eeb"),i=n("624e");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("614d");var c=n("828b"),r=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"250a9658",null,!1,a["a"],void 0);e["default"]=r.exports},"13cf":function(t,e,n){var a=n("d52f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("967d").default;i("593febd1",a,!0,{sourceMap:!1,shadowMode:!1})},"40ec":function(t,e,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("2634")),o=a(n("2fdc")),c=a(n("9b1b")),r=n("bf7f"),s=n("8f59"),u={data:function(){return{name:this.$store.state.userInfo.nickname}},methods:(0,c.default)((0,c.default)({},(0,s.mapActions)(["updateNickname"])),{},{changeName:function(){var t=this;return(0,o.default)((0,i.default)().mark((function e(){var n,a;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,r.updateUserInfo)({token:t.$store.getters.token,nickname:t.name});case 2:n=e.sent,a=n.content,console.log(a),t.updateNickname(t.name),uni.showToast({title:"修改成功！"});case 7:case"end":return e.stop()}}),e)})))()}})};e.default=u},"5eeb":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"container"},[n("v-uni-view",{staticClass:"row"},[n("v-uni-view",{staticClass:"content"},[n("v-uni-input",{staticClass:"text",attrs:{placeholder:"输入昵称"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}})],1)],1),n("v-uni-view",{staticClass:"row"},[n("v-uni-button",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeName()}}},[t._v("修改")])],1)],1)],1)},i=[]},"614d":function(t,e,n){"use strict";var a=n("13cf"),i=n.n(a);i.a},"624e":function(t,e,n){"use strict";n.r(e);var a=n("40ec"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},d52f:function(t,e,n){var a=n("c86c");e=a(!1),e.push([t.i,".container[data-v-250a9658]{padding-top:%?40?%;\n\t/* display: flex; */align-items:center;justify-content:center}.row[data-v-250a9658]{display:flex;align-items:center;justify-content:center}.row .content[data-v-250a9658]{line-height:%?300?%;width:90%;float:left;display:flex;border-bottom-color:#8f8f94;border-bottom-style:inset}.text[data-v-250a9658]{font-size:large}.btn[data-v-250a9658]{margin-top:%?30?%;background-color:#4cd964}",""]),t.exports=e}}]);