|
@@ -212,17 +212,17 @@ export default {
|
|
|
if (res.status === 1) {
|
|
|
this.changePwdFlag = false;
|
|
|
this.$message.success('更改成功!');
|
|
|
- setTimeout(() => {
|
|
|
- this.$store.dispatch('user/signOut');
|
|
|
- this.$router.push('/login');
|
|
|
- }, 1000);
|
|
|
+ // setTimeout(() => {
|
|
|
+ // this.$store.dispatch('user/signOut');
|
|
|
+ // this.$router.push('/login');
|
|
|
+ // }, 1000);
|
|
|
|
|
|
- // this.$refs.personalForm.resetFields();
|
|
|
- // this.password_type = 'password';
|
|
|
- // this.two_password_type = 'password';
|
|
|
- // this.two_password_confirm_type = 'password';
|
|
|
- // this.password_rrror = false;
|
|
|
- // this.two_password_error = false;
|
|
|
+ this.$refs.personalForm.resetFields();
|
|
|
+ this.password_type = 'password';
|
|
|
+ this.two_password_type = 'password';
|
|
|
+ this.two_password_confirm_type = 'password';
|
|
|
+ this.password_rrror = false;
|
|
|
+ this.two_password_error = false;
|
|
|
}
|
|
|
})
|
|
|
.catch(() => {
|