فهرست منبع

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

handsomeFu 7 ماه پیش
والد
کامیت
c439d5601f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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>