From 82f0e97a1a2d9c25dba74c1f59a0f756df835903 Mon Sep 17 00:00:00 2001 From: magicFeirl <2100709458@qq.com> Date: Sat, 12 Apr 2025 13:24:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=B1=BB=E5=9E=8B=E6=B3=A8=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- registry/lib/components/style/hide/trending-search/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/lib/components/style/hide/trending-search/index.ts b/registry/lib/components/style/hide/trending-search/index.ts index 0868f9965..2310e73cc 100644 --- a/registry/lib/components/style/hide/trending-search/index.ts +++ b/registry/lib/components/style/hide/trending-search/index.ts @@ -17,7 +17,7 @@ const getSearchInputClassName = () => { return isInLiveRoomPage() ? 'input.nav-search-content' : 'input.nav-search-input' } -const isSearchInput = (target: any) => { +const isSearchInput = (target: Node) => { if (!(target instanceof HTMLInputElement)) { return false }