Quellcode durchsuchen

更新代码前保存

sunsheng vor 2 Monaten
Ursprung
Commit
e3654484b8
2 geänderte Dateien mit 53 neuen und 2 gelöschten Zeilen
  1. 52 1
      app/components/DeekSeekHome.tsx
  2. 1 1
      app/components/home.tsx

+ 52 - 1
app/components/DeekSeekHome.tsx

@@ -28,7 +28,58 @@ const DeekSeek: React.FC = () => {
         }[],
     }[];
 
-    const [list, setList] = React.useState<List>([]);
+    const [list, setList] = React.useState<List>([
+        {
+            "children": [
+                {
+                    "chatMode": "LOCAL",
+                    "showMenu": "false",
+                    "appId": "2935625422066814976",
+                    "title": "公司作业指导书(2023版)"
+                },
+                {
+                    "chatMode": "LOCAL",
+                    "showMenu": "false",
+                    "appId": "2935200536655695872",
+                    "title": "常用验收规范问答"
+                },
+                {
+                    "chatMode": "LOCAL",
+                    "showMenu": "false",
+                    "appId": "2942568790025965568",
+                    "title": "钢结构AI监理师"
+                }
+            ],
+            "title": "专业知识"
+        },
+        {
+            "children": [
+                {
+                    "chatMode": "LOCAL",
+                    "showMenu": "false",
+                    "appId": "2919677614293913600",
+                    "title": "员工入职小百科"
+                },
+                {
+                    "chatMode": "LOCAL",
+                    "showMenu": "false",
+                    "appId": "2919668410128666624",
+                    "title": "数字系统答疑"
+                },
+                {
+                    "chatMode": "LOCAL",
+                    "showMenu": "false",
+                    "appId": "2945774476037853184",
+                    "title": "企业介绍"
+                }
+            ],
+            "title": "职能管理"
+        },
+        {
+            "children": [],
+            "title": "项目级应用"
+        }
+    ]);
 
     const init = async () => {
         setListLoading(true);

+ 1 - 1
app/components/home.tsx

@@ -368,7 +368,7 @@ export function Home() {
   }
 
   const toUninLogin = async (originUrl: string, fullUrl: string) => {
-    // return
+    return
     //测试环境
     //const loginUrl = 'https://esctest.sribs.com.cn/esc-sso/oauth2.0/authorize?client_id=e97f94cf93761f4d69e8&response_type=code';
     //生产环境