fix: 解决报错
parent
3783049246
commit
8222a12ef4
|
@ -137,9 +137,9 @@ const init = () => {
|
||||||
if (local) {
|
if (local) {
|
||||||
const obj = JSON.parse(local)
|
const obj = JSON.parse(local)
|
||||||
loginForm.account = obj.account
|
loginForm.account = obj.account
|
||||||
loginForm.password = decrypt(obj.password)
|
if (obj.password) loginForm.password = decrypt(obj.password)
|
||||||
loginForm.saccount = obj.saccount
|
loginForm.saccount = obj.saccount
|
||||||
loginForm.spassword = decrypt(obj.spassword)
|
if (obj.spassword) loginForm.spassword = decrypt(obj.spassword)
|
||||||
remember.value = true
|
remember.value = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue