mirror of
https://gitee.com/dromara/go-view.git
synced 2026-05-12 00:00:01 +08:00
feat: 登录页面增加回车快捷键登录
This commit is contained in:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user