From b50731881c2029fb37fd4a9e6dcd26d5d562fa9c Mon Sep 17 00:00:00 2001 From: mizhexiaoxiao <1157861072@qq.com> Date: Mon, 26 Jun 2023 10:46:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=A8=E4=B8=AD=E6=96=87=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E6=B3=95=E8=BE=93=E5=85=A5=E5=AD=97=E6=AF=8D=E6=8C=89?= =?UTF-8?q?enter=E9=94=AE=E4=BC=9A=E8=A7=A6=E5=8F=91=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/demo/table/index.vue | 2 +- src/views/login/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/demo/table/index.vue b/src/views/demo/table/index.vue index 835c586..897a821 100644 --- a/src/views/demo/table/index.vue +++ b/src/views/demo/table/index.vue @@ -29,7 +29,7 @@ v-model:value="queryItems.title" type="text" placeholder="请输入标题" - @keydown.enter="$table?.handleSearch" + @keypress.enter="$table?.handleSearch" /> diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 0eaa1dc..411c635 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -31,7 +31,7 @@ show-password-on="mousedown" placeholder="123456" :maxlength="20" - @keydown.enter="handleLogin" + @keypress.enter="handleLogin" />