From f3587a32ede7494142a9c8bc9b7ff5a48a8c8e54 Mon Sep 17 00:00:00 2001 From: j m <1406993111@qq.com> Date: Sun, 22 Sep 2024 06:54:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=90=9C=E7=B4=A2=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E8=BF=87=E5=BF=AB=E5=93=8D=E5=BA=94=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/search.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/search.html b/templates/search.html index f8d4f20..8cc802e 100644 --- a/templates/search.html +++ b/templates/search.html @@ -30,7 +30,7 @@ }) // 监听输入事件 searchInput.addEventListener('input', function (event) { - findResult(event.target.value) + findResult(searchInput.value) }) function removeHTMLTags(str) {