develop
时启龙 2024-08-28 15:30:28 +08:00
parent b158fb5f9c
commit 83b3073a47
1 changed files with 4 additions and 1 deletions

View File

@ -148,7 +148,10 @@ async function handleUkeyLogin() {
console.log('UKEY: 密码校验通过')
console.log('store', store)
loading.value = true
const res = await store.dispatch('ukey/Login', loginForm.ukeyPassword).finally(() => (loading.value = false))
const res = await store
.dispatch('ukey/Login', loginForm.ukeyPassword)
.finally(() => (loading.value = false))
.catch(() => (loading.value = false))
if (res && res.success) {
console.log('UKEY: 登录成功,云管融合登录接口返回', res)
// ukey