(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/my/updateNickName"],{206:function(e,t,n){"use strict";(function(e){n(5);u(n(4));var t=u(n(207));function u(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n(1)["createPage"])},207:function(e,t,n){"use strict";n.r(t);var u=n(208),r=n(210);for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);n(212);var i,c=n(11),o=Object(c["default"])(r["default"],u["render"],u["staticRenderFns"],!1,null,null,null,!1,u["components"],i);o.options.__file="pages/my/updateNickName.vue",t["default"]=o.exports},208:function(e,t,n){"use strict";n.r(t);var u=n(209);n.d(t,"render",(function(){return u["render"]})),n.d(t,"staticRenderFns",(function(){return u["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return u["recyclableRender"]})),n.d(t,"components",(function(){return u["components"]}))},209:function(e,t,n){"use strict";var u;n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return i})),n.d(t,"recyclableRender",(function(){return a})),n.d(t,"components",(function(){return u}));var r=function(){var e=this,t=e.$createElement;e._self._c},a=!1,i=[];r._withStripped=!0},210:function(e,t,n){"use strict";n.r(t);var u=n(211),r=n.n(u);for(var a in u)"default"!==a&&function(e){n.d(t,e,(function(){return u[e]}))}(a);t["default"]=r.a},211:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{nickName:"",oldnickName:""}},onLoad:function(){this.oldnickName=this.$queue.getData("userName")},methods:{updatNickName:function(){var t=this,n=/[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~！@#￥%……&*（）——\-+={}|《》？：“”【】、；‘'，。、 ]/im;if(n.test(this.nickName))this.$queue.showToast("包含特殊字符,请重新输入");else{e.showLoading({title:"提交中..."});this.$queue.getData("userId");var u={userName:this.nickName};this.$Request.postT("/app/user/updateUserName",u).then((function(n){e.hideLoading(),0===n.code&&(t.$queue.showToast("更新成功"),setTimeout((function(){e.navigateBack()}),500))}))}}}};t.default=n}).call(this,n(1)["default"])},212:function(e,t,n){"use strict";n.r(t);var u=n(213),r=n.n(u);for(var a in u)"default"!==a&&function(e){n.d(t,e,(function(){return u[e]}))}(a);t["default"]=r.a},213:function(e,t,n){}},[[206,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/my/updateNickName.js.map