Compare commits
3 Commits
6fb90dba17
...
f5a40751ac
Author | SHA1 | Date |
---|---|---|
admin | f5a40751ac | |
admin | 9ef0a2b181 | |
admin | b41028b195 |
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue