Commit c439d560 by handsomeFu Committed by GitHub

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

1 parent 453a3a8f
...@@ -91,7 +91,7 @@ function handleGo(path: string) { ...@@ -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>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!