|
@@ -22,6 +22,9 @@ import { AuthPage } from "./auth";
|
|
|
import { getClientConfig } from "../config/client";
|
|
import { getClientConfig } from "../config/client";
|
|
|
import { type ClientApi, getClientApi } from "../client/api";
|
|
import { type ClientApi, getClientApi } from "../client/api";
|
|
|
import { useAccessStore } from "../store";
|
|
import { useAccessStore } from "../store";
|
|
|
|
|
+import HomeApp from "./DeekSeekHome";
|
|
|
|
|
+import { Chat } from "./chat";
|
|
|
|
|
+import { Chat as DeepSeekChat } from "./DeepSeekChat";
|
|
|
|
|
|
|
|
export function Loading() {
|
|
export function Loading() {
|
|
|
/** second版本注释掉进度条 */
|
|
/** second版本注释掉进度条 */
|
|
@@ -100,25 +103,25 @@ const Settings = dynamic(
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
-const Chat = dynamic(
|
|
|
|
|
- async () => {
|
|
|
|
|
- await delayer();
|
|
|
|
|
- return (await import("./chat")).Chat
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- loading: () => <Loading />,
|
|
|
|
|
- }
|
|
|
|
|
-);
|
|
|
|
|
-
|
|
|
|
|
-const DeepSeekChat = dynamic(
|
|
|
|
|
- async () => {
|
|
|
|
|
- await delayer();
|
|
|
|
|
- return (await import("./DeepSeekChat")).Chat
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- loading: () => <Loading />,
|
|
|
|
|
- }
|
|
|
|
|
-);
|
|
|
|
|
|
|
+// const Chat = dynamic(
|
|
|
|
|
+// async () => {
|
|
|
|
|
+// await delayer();
|
|
|
|
|
+// return (await import("./chat")).Chat
|
|
|
|
|
+// },
|
|
|
|
|
+// {
|
|
|
|
|
+// loading: () => <Loading />,
|
|
|
|
|
+// }
|
|
|
|
|
+// );
|
|
|
|
|
+
|
|
|
|
|
+// const DeepSeekChat = dynamic(
|
|
|
|
|
+// async () => {
|
|
|
|
|
+// await delayer();
|
|
|
|
|
+// return (await import("./DeepSeekChat")).Chat
|
|
|
|
|
+// },
|
|
|
|
|
+// {
|
|
|
|
|
+// loading: () => <Loading />,
|
|
|
|
|
+// }
|
|
|
|
|
+// );
|
|
|
|
|
|
|
|
const Record = dynamic(
|
|
const Record = dynamic(
|
|
|
async () => {
|
|
async () => {
|
|
@@ -130,14 +133,14 @@ const Record = dynamic(
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
-const HomeApp = dynamic(
|
|
|
|
|
- async () => {
|
|
|
|
|
- return (await import("./DeekSeekHome"))
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- loading: () => <Loading />,
|
|
|
|
|
- }
|
|
|
|
|
-);
|
|
|
|
|
|
|
+// const HomeApp = dynamic(
|
|
|
|
|
+// async () => {
|
|
|
|
|
+// return (await import("./DeekSeekHome"))
|
|
|
|
|
+// },
|
|
|
|
|
+// {
|
|
|
|
|
+// loading: () => <Loading />,
|
|
|
|
|
+// }
|
|
|
|
|
+// );
|
|
|
|
|
|
|
|
const NewChat = dynamic(
|
|
const NewChat = dynamic(
|
|
|
async () => {
|
|
async () => {
|