feat: chat panel UE done

This commit is contained in:
butterfly
2024-04-18 12:27:44 +08:00
parent 51a1d9f92a
commit b3559f99a2
39 changed files with 953 additions and 447 deletions

View File

@@ -67,9 +67,9 @@ const cn = {
},
Rename: "重命名对话",
Typing: "正在输入…",
Input: (submitKey: string) => {
Input: (submitKey: string, isMobileScreen?: boolean) => {
var inputHints = `${submitKey} 发送`;
if (submitKey === String(SubmitKey.Enter)) {
if (submitKey === String(SubmitKey.Enter) && !isMobileScreen) {
inputHints += "Shift + Enter 换行";
}
return inputHints + "/ 触发补全,: 触发命令";