text: webpackJsonp([31],{X2cd:function(t,e){},zMaz:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("34v0"),n=a.n(s),i=a("TVG1"),o=a("Cl3J"),r=a("4m8a"),d=a("4Zt/"),l={data:function(){var t=i.a.getsessionStorage("userInfo");return{loading:!1,edit:{sjhm:t.sjhm,id:t.id}}},methods:{editFun:function(){var t=this;if(!i.a.verify.phone(this.edit.sjhm))return this.$toast("请输入正确的手机号"),!1;this.loading=!0;var e=i.a.getsessionStorage("userInfo");d.a.axiosInstance.post("/credit-data-xypj/xypj/gateway/modifyUserInfo.json",n()({},this.edit,{sjhm:this.edit.sjhm})).then(function(a){i.a.setsessionStorage("userInfo",n()({},e,{sjhm:t.edit.sjhm})),t.$router.push({name:"UserCenter"})}).catch(function(e){t.loading=!1})}},mounted:function(){},components:{Layout:o.a,Headerlevel2:r.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("Layout",[a("Headerlevel2",{attrs:{slot:"header",title:t.$route.meta.title},slot:"header"}),t._v(" "),a("div",{staticClass:"editPage"},[a("div",{staticClass:"editArea"},[a("van-field",{staticClass:"van-hairline--bottom",attrs:{clearable:!0,placeholder:"请输入手机号"},model:{value:t.edit.sjhm,callback:function(e){t.$set(t.edit,"sjhm",e)},expression:"edit.sjhm"}})],1),t._v(" "),a("van-button",{staticClass:"van-button--custom",attrs:{loading:t.loading,block:!0,size:"normal"},on:{click:t.editFun}},[t._v("修改")])],1)],1)},staticRenderFns:[]};var u=a("Mz/3")(l,c,!1,function(t){a("X2cd")},"data-v-437f68ff",null);e.default=u.exports}});
  //# sourceMappingURL=31.77c8fc8630ad67acd77f.js.map