作者 朱兆平

修改密码适配卡口用户

... ... @@ -176,7 +176,7 @@
]
},
editForm: {
userId: '',
id: '',
password: '',
},
}
... ... @@ -215,7 +215,7 @@
submitEdit(formName){
this.$refs[formName].validate((valid) => {
if (valid) {
this.editForm.userId=this.sysUserId;
this.editForm.id=this.sysUserId;
this.editForm.password=this.resetForm.renewpwd;
editPass(this.editForm).then(res=>{
let response=res.data;
... ... @@ -285,7 +285,7 @@
if (user) {
user = JSON.parse(user);
this.sysUserName = user.username || '';
this.sysUserId=user.userId||'';
this.sysUserId=user.id||'';
this.sysUserAvatar = user.userface || '/static/images/faceDefault.jpg';
}
//操作路由,判断本地存储的用户栏目列表是否存在,如果存在则加载路由
... ...