fix: replace deprecated @keypress with @keydown for Enter key handling (#4258)

This commit is contained in:
handsomeFu 2024-08-28 17:39:47 +08:00 committed by GitHub
parent 453a3a8f84
commit c439d5601f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ function handleGo(path: string) {
</script>
<template>
<div @keypress.enter.prevent="handleSubmit">
<div @keydown.enter.prevent="handleSubmit">
<Title>
{{ title || `${$t('authentication.welcomeBack')} 👋🏻` }}
<template #desc>