Browse Source

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

pull/4265/head
handsomeFu 2 years ago
committed by GitHub
parent
commit
c439d5601f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      packages/effects/common-ui/src/ui/authentication/login.vue

2
packages/effects/common-ui/src/ui/authentication/login.vue

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

Loading…
Cancel
Save