From 9b3e7ead50ca018e3689284ae7ddd31b5ba3196b Mon Sep 17 00:00:00 2001 From: master1lan <278457198@qq.com> Date: Sun, 5 Mar 2023 11:05:30 +0800 Subject: [PATCH] =?UTF-8?q?:lipstick:=20style(custom):=20=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E9=A1=B5=E4=B9=9F=E5=B0=86=E9=AB=98=E4=BA=AE=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ISSUES CLOSED: #29 --- src/routers/layout/logo/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/routers/layout/logo/index.tsx b/src/routers/layout/logo/index.tsx index 710cbc7..9d68c5b 100644 --- a/src/routers/layout/logo/index.tsx +++ b/src/routers/layout/logo/index.tsx @@ -112,7 +112,11 @@ const useRouterMatchWithDefaultRouter = (urls: string[]) => { return lists.some((item) => item !== null); }; const RouterListAndQA = () => { - const isVideoPage = useRouterMatchWithDefaultRouter(["/", "/video"]), + const isVideoPage = useRouterMatchWithDefaultRouter([ + "/", + "/video", + "/search", + ]), isPhotoPage = useRouterMatchWithDefaultRouter(["/photo"]), isActive = (label: string) => { if (