From c2906083c3c49e75c076dcbbdb3c4f90b86311af Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Tue, 11 Jan 2022 10:51:05 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20=E4=BF=AE=E5=A4=8D=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E8=83=8C=E6=99=AF=E9=81=AE=E7=BD=A9=E6=97=A0=E6=B3=95=E7=82=B9?= =?UTF-8?q?=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/SearchDrawer.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/SearchDrawer.js b/components/SearchDrawer.js index d21dc3b4..da417f52 100644 --- a/components/SearchDrawer.js +++ b/components/SearchDrawer.js @@ -13,6 +13,7 @@ const SearchDrawer = ({ cRef }) => { } }) const hidden = () => { + console.log('点击') searchDrawer?.current?.classList?.add('hidden') } Router.events.on('routeChangeComplete', (...args) => { @@ -20,14 +21,14 @@ const SearchDrawer = ({ cRef }) => { }) return (
-
+
{/* 背景蒙版 */} -
+
) }