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

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>