Commit 2a187317 authored by wxk's avatar wxk

重置密码后清空缓存密码

parent d7b19850
......@@ -132,7 +132,7 @@ export default {
this.islogin=num;
this.loginEmail = '';
this.loginPassword = '';
this.isSaveLoginInfo = '';
this.isSaveLoginInfo = true;
this.show = true;
},
//获取验证码
......@@ -208,7 +208,8 @@ export default {
type: 'success',
duration:'2000',
});
localStorage.removeItem('password');
localStorage["password"] = "";
this.loginPassword = '';
this.loginEmail = this.regist_email;
this.loginPassword = this.regist_password;
this.isSaveLoginInfo = true;
......@@ -323,6 +324,7 @@ export default {
type: 'success',
duration:'2000',
});
localStorage["password"] = "";
this.goShowPanel(1)
//this.loginEmail = this.forget_email;
//this.loginPassword = this.forget_password;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment