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 { setUkeyPassword } from 'utils/auth'
|
||||||
import type { FormInstance } from 'element-plus'
|
import type { FormInstance } from 'element-plus'
|
||||||
|
|
||||||
|
|
||||||
const ukeyPasswordInputRef = ref()
|
const ukeyPasswordInputRef = ref()
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
if (typeof ukeyPasswordInputRef.value.focus === 'function') ukeyPasswordInputRef.value.focus()
|
if (typeof ukeyPasswordInputRef.value.focus === 'function') ukeyPasswordInputRef.value.focus()
|
||||||
|
@ -184,6 +185,7 @@ function handleLogin() {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 软key 登录
|
// 软key 登录
|
||||||
function handleLogin4sKey() {
|
function handleLogin4sKey() {
|
||||||
if (!loginFormRef.value) return
|
if (!loginFormRef.value) return
|
||||||
|
@ -203,6 +205,7 @@ function handleLogin4sKey() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// ukey 登录
|
// ukey 登录
|
||||||
|
@ -240,7 +243,7 @@ function handleLogin4sKey() {
|
||||||
capsTooltip.value = false
|
capsTooltip.value = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
Loading…
Reference in New Issue