Explorar o código

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

handsomeFu hai 1 ano
pai
achega
c439d5601f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/effects/common-ui/src/ui/authentication/login.vue

+ 1 - 1
packages/effects/common-ui/src/ui/authentication/login.vue

@@ -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>