Kaynağa Gözat

修复菜单栏丢失问题

sunsheng 1 hafta önce
ebeveyn
işleme
4d4c247652
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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>