mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-13 23:53:42 +08:00
fix 修复 默认密码被覆盖问题
This commit is contained in:
parent
979bad0275
commit
84cbada026
@ -227,7 +227,7 @@ const getLoginData = () => {
|
||||
localStorage.removeItem('password');
|
||||
loginForm.value = {
|
||||
username: username === null ? String(loginForm.value.username) : username,
|
||||
password: '',
|
||||
password: username === null ? String(loginForm.value.password) : '',
|
||||
rememberMe: rememberMe === 'true'
|
||||
} as LoginData;
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user