(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/alterPassword/alterPassword"],{163:function(e,n,t){"use strict";(function(e,n){var r=t(4);t(26);r(t(25));var o=r(t(164));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},164:function(e,n,t){"use strict";t.r(n);var r=t(165),o=t(167);for(var s in o)["default"].indexOf(s)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(s);t(169);var a,u=t(32),i=Object(u["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],a);i.options.__file="pages/alterPassword/alterPassword.vue",n["default"]=i.exports},165:function(e,n,t){"use strict";t.r(n);var r=t(166);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"]}))},166:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return a})),t.d(n,"recyclableRender",(function(){return s})),t.d(n,"components",(function(){return r}));try{r={uInput:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-input/u-input")]).then(t.bind(null,200))}}}catch(u){if(-1===u.message.indexOf("Cannot find module")||-1===u.message.indexOf(".vue"))throw u;console.error(u.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var o=function(){var e=this,n=e.$createElement;e._self._c},s=!1,a=[];o._withStripped=!0},167:function(e,n,t){"use strict";t.r(n);var r=t(168),o=t.n(r);for(var s in r)["default"].indexOf(s)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(s);n["default"]=o.a},168:function(e,n,t){"use strict";(function(e){var r=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(t(43)),s=r(t(45)),a={data:function(){return{customStyle:{fontSize:"32rpx",paddingLeft:"24rpx",background:"#f7f7f7",borderRadius:"8rpx"},form:{password:"",password_confirmation:""},isButtonDisabled:!1}},methods:{amend:function(){return!this.isButtonDisabled&&(this.form.password&&this.form.password_confirmation?this.form.password!=this.form.password_confirmation?(this.$u.toast("二次输入的密码信息不一致！"),!1):(this.isButtonDisabled=!0,void this.amendPasswordFn()):(this.$u.toast("请将密码信息输入完整！"),!1))},amendPasswordFn:function(){var n=this;return(0,s.default)(o.default.mark((function t(){var r;return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return setTimeout((function(){n.isButtonDisabled=!1}),1e3),t.next=3,n.$u.api.amendPassword(n.form);case 3:r=t.sent,console.log(r),n.$u.toast(r.message),setTimeout((function(){e.removeStorageSync("token"),e.removeStorageSync("password"),n.$u.route({type:"reLaunch",url:"/pages/login/login"})}),1e3);case 7:case"end":return t.stop()}}),t)})))()}}};n.default=a}).call(this,t(2)["default"])},169:function(e,n,t){"use strict";t.r(n);var r=t(170),o=t.n(r);for(var s in r)["default"].indexOf(s)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(s);n["default"]=o.a},170:function(e,n,t){}},[[163,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/alterPassword/alterPassword.js.map