From e7c91c762f094136164197385053dcb2c5d3b02d Mon Sep 17 00:00:00 2001
From: aureliony <39163684+aureliony@users.noreply.github.com>
Date: Sat, 7 Jun 2025 14:40:23 +0800
Subject: [PATCH] Trigger query on input change instead of keyup.enter
---
src/views/ProblemRating.vue | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/views/ProblemRating.vue b/src/views/ProblemRating.vue
index f373ec4..65ae82a 100644
--- a/src/views/ProblemRating.vue
+++ b/src/views/ProblemRating.vue
@@ -23,7 +23,7 @@
@@ -33,7 +33,7 @@
:max="9999"
:controls="false"
style="width: 80px"
- @keyup.enter="query"
+ @change="query"
/>
@@ -43,7 +43,7 @@
:max="9999"
:controls="false"
style="width: 80px"
- @keyup.enter="query"
+ @change="query"
/>
-
@@ -54,7 +54,7 @@
:max="9999"
:controls="false"
style="width: 80px"
- @keyup.enter="query"
+ @change="query"
/>