fix: 解决报错

develop
sqlnice 2024-11-01 14:57:10 +08:00
parent 3783049246
commit 8222a12ef4
1 changed files with 2 additions and 2 deletions

View File

@ -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
} }
} }