@@ -52,7 +52,7 @@
-
+
@@ -79,7 +79,11 @@ import { required } from '@/validate'
import { setUkeyPassword } from 'utils/auth'
import type { FormInstance } from 'element-plus'
-const activeName = ref('normal')
+const ukeyPasswordInputRef = ref()
+onMounted(() => {
+ if (typeof ukeyPasswordInputRef.value.focus === 'function') ukeyPasswordInputRef.value.focus()
+})
+const activeName = ref('UKEY')
const loginForm = reactive({
account: '',
password: '',