fix: 接口报错时 loading 消失
parent
57ea72c3d7
commit
a130aab32e
|
@ -127,11 +127,12 @@ function handleLogin() {
|
|||
account,
|
||||
password: encrypt(password),
|
||||
isManager: true
|
||||
}).finally(() => {
|
||||
loading.value = false
|
||||
})
|
||||
if (res.success) {
|
||||
goLogin(res.data)
|
||||
}
|
||||
loading.value = false
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue