Explorar o código

修复菜单栏丢失问题

sunsheng hai 1 semana
pai
achega
4d4c247652
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/components/home.tsx

+ 1 - 1
app/components/home.tsx

@@ -266,7 +266,7 @@ function Screen() {
       <>
         {
           location.pathname !== '/' &&
-          <SideBar className={(location.pathname === '/knowledgeChat' || location.pathname === '/deepseekChat') ? styles["sidebar-show"] : ""} />
+          <SideBar className={(location.pathname === '/knowledgeChat' || location.pathname === '/deepseekChat' ||location.pathname === '/newChat' ) ? styles["sidebar-show"] : ""} />
         }
         <WindowContent>
           <Routes>