feat: 登录页面增加回车快捷键登录

This commit is contained in:
QuietlyChan 2024-03-18 17:52:47 +08:00
parent 5b0840b92d
commit 4355f3dac0

View File

@ -56,6 +56,7 @@
type="text"
maxlength="16"
:placeholder="$t('global.form_account')"
@keydown.enter="handleSubmit"
>
<template #prefix>
<n-icon size="18">
@ -71,6 +72,7 @@
maxlength="16"
show-password-on="click"
:placeholder="$t('global.form_password')"
@keydown.enter="handleSubmit"
>
<template #prefix>
<n-icon size="18">