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 (