Compare commits

...

3 Commits

Author SHA1 Message Date
admin f5a40751ac 1. 登录模块新增软key登录模块代码 2024-10-31 16:14:43 +08:00
admin 9ef0a2b181 Merge remote-tracking branch 'origin/develop' into develop 2024-10-31 16:09:45 +08:00
admin b41028b195 1. 登录模块新增软key登录模块代码 2024-10-31 16:09:26 +08:00
1 changed files with 4 additions and 1 deletions

View File

@ -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()
@ -184,6 +185,7 @@ function handleLogin() {
}
})
}
// key
function handleLogin4sKey() {
if (!loginFormRef.value) return
@ -203,6 +205,7 @@ function handleLogin4sKey() {
}
}
})
}
// ukey
@ -240,7 +243,7 @@ function handleLogin4sKey() {
capsTooltip.value = false
}
}
}
</script>
<style lang="scss" scoped>