diff --git a/src/views/login/login.vue b/src/views/login/login.vue index 7a63e53..5bdb33a 100644 --- a/src/views/login/login.vue +++ b/src/views/login/login.vue @@ -112,6 +112,7 @@ import { required } from '@/validate' import { setUkeyPassword } from 'utils/auth' import type { FormInstance } from 'element-plus' + const ukeyPasswordInputRef = ref() onMounted(() => { if (typeof ukeyPasswordInputRef.value.focus === 'function') ukeyPasswordInputRef.value.focus()