mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-24 02:16:10 +08:00
feat: 登录页面增加回车快捷键登录
This commit is contained in:
parent
5b0840b92d
commit
4355f3dac0
@ -56,6 +56,7 @@
|
|||||||
type="text"
|
type="text"
|
||||||
maxlength="16"
|
maxlength="16"
|
||||||
:placeholder="$t('global.form_account')"
|
:placeholder="$t('global.form_account')"
|
||||||
|
@keydown.enter="handleSubmit"
|
||||||
>
|
>
|
||||||
<template #prefix>
|
<template #prefix>
|
||||||
<n-icon size="18">
|
<n-icon size="18">
|
||||||
@ -71,6 +72,7 @@
|
|||||||
maxlength="16"
|
maxlength="16"
|
||||||
show-password-on="click"
|
show-password-on="click"
|
||||||
:placeholder="$t('global.form_password')"
|
:placeholder="$t('global.form_password')"
|
||||||
|
@keydown.enter="handleSubmit"
|
||||||
>
|
>
|
||||||
<template #prefix>
|
<template #prefix>
|
||||||
<n-icon size="18">
|
<n-icon size="18">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user