mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-12-18 16:20:38 +08:00
chore: 同步完整版代码
This commit is contained in:
@@ -63,7 +63,7 @@ const onLogin = async (formEl: FormInstance | undefined) => {
|
||||
|
||||
/** 使用公共函数,避免`removeEventListener`失效 */
|
||||
function onkeypress({ code }: KeyboardEvent) {
|
||||
if (code === "Enter") {
|
||||
if (["Enter", "NumpadEnter"].includes(code)) {
|
||||
onLogin(ruleFormRef.value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user