1 line
1.9 KiB
JavaScript
1 line
1.9 KiB
JavaScript
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/profile/editPassword"],{"0f96":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("f785"),s={data:function(){return{noClick:!0,oldpassword:"",newpassword:"",renewpassword:""}},methods:{subSave:function(){if(this.oldpassword)if(this.newpassword)if(this.renewpassword){var t={oldpassword:this.oldpassword,newpassword:this.newpassword,renewpassword:this.renewpassword};(0,o.netEditPassword)(t).then((function(t){e.showToast({title:t.msg,icon:"none"}),setTimeout((function(){e.redirectTo({url:"/pages/profile/profile"})}),2e3)}))}else e.showToast({title:"请确认新密码",icon:"none"});else e.showToast({title:"请输入新密码",icon:"none"});else e.showToast({title:"请输入旧密码",icon:"none"})}}};t.default=s}).call(this,n("543d")["default"])},"1cca":function(e,t,n){"use strict";n.r(t);var o=n("5621"),s=n("c2d9");for(var a in s)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return s[e]}))}(a);n("3005");var i=n("f0c5"),r=Object(i["a"])(s["default"],o["b"],o["c"],!1,null,"100a092e",null,!1,o["a"],void 0);t["default"]=r.exports},3005:function(e,t,n){"use strict";var o=n("5b26"),s=n.n(o);s.a},5621:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){}));var o=function(){var e=this.$createElement;this._self._c},s=[]},"5b26":function(e,t,n){},"73eaf":function(e,t,n){"use strict";(function(e,t){var o=n("4ea4");n("8886");o(n("66fd"));var s=o(n("1cca"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(s.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},c2d9:function(e,t,n){"use strict";n.r(t);var o=n("0f96"),s=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);t["default"]=s.a}},[["73eaf","common/runtime","common/vendor"]]]); |