diff --git a/app/components/home.tsx b/app/components/home.tsx
index 78bb643b5..4d7d96aaa 100644
--- a/app/components/home.tsx
+++ b/app/components/home.tsx
@@ -34,9 +34,9 @@ export function Loading(props: { noLogo?: boolean }) {
);
}
-const Settings = dynamic(async () => (await import("./settings")).Settings, {
- loading: () => ,
-});
+// const Settings = dynamic(async () => (await import("./settings")).Settings, {
+// loading: () => ,
+// });
const ChatList = dynamic(async () => (await import("./chat-list")).ChatList, {
loading: () => ,
@@ -146,7 +146,7 @@ function _Home() {
onClick={chatStore.deleteSession}
/>
-
+ {/*
}
onClick={() => {
@@ -155,7 +155,7 @@ function _Home() {
}}
shadow
/>
-
+
*/}
- {openSettings ? (
- {
- setOpenSettings(false);
- setShowSideBar(true);
- }}
- />
- ) : (
- setShowSideBar(true)}
- sideBarShowing={showSideBar}
- />
- )}
+ setShowSideBar(true)}
+ sideBarShowing={showSideBar}
+ />
);
diff --git a/app/locales/cn.ts b/app/locales/cn.ts
index ecd7818aa..49cd407e1 100644
--- a/app/locales/cn.ts
+++ b/app/locales/cn.ts
@@ -1,5 +1,5 @@
import { SubmitKey } from "../store/app";
-
+import { isMobileScreen } from "../utils";
const cn = {
WIP: "该功能仍在开发中……",
Error: {
@@ -25,6 +25,9 @@ const cn = {
if (submitKey === String(SubmitKey.Enter)) {
inputHints += ",Shift + Enter 换行";
}
+ if (isMobileScreen()) {
+ return "与ta对话吧";
+ }
return inputHints + ",/ 触发补全提示词咒语";
},
Send: "发送",