Jelajahi Sumber

开放左侧菜单

李富豪 11 bulan lalu
induk
melakukan
625b4844f3
2 mengubah file dengan 2 tambahan dan 3 penghapusan
  1. 2 2
      app/components/home.tsx
  2. 0 1
      package.json

+ 2 - 2
app/components/home.tsx

@@ -262,11 +262,11 @@ function Screen() {
     if (isSdNew) return <Sd />;
     return (
       <>
-        {/* <SideBar className={isHome ? styles["sidebar-show"] : ""} /> */}
+        <SideBar className={isHome ? styles["sidebar-show"] : ""} />
         <WindowContent>
           <Routes>
             <Route path={Path.Home} element={<Chat />} />
-            <Route path={'/record'} element={<Record />} />
+            {/* <Route path={'/record'} element={<Record />} /> */}
             {/* <Route path={Path.NewChat} element={<NewChat />} /> */}
             {/* <Route path={Path.Masks} element={<MaskPage />} /> */}
             {/* <Route path={Path.Chat} element={<Chat />} /> */}

+ 0 - 1
package.json

@@ -3,7 +3,6 @@
   "version": "1.0.0",
   "private": true,
   "description": "AI问答-客户端",
-  "type": "module",
   "license": "MIT",
   "scripts": {
     "mask": "npx tsx app/masks/build.ts",