perf: improve prompt list performance

This commit is contained in:
Yidadaa
2023-05-02 02:26:43 +08:00
parent a69cec89fb
commit e509749421
12 changed files with 240 additions and 80 deletions

View File

@@ -116,9 +116,12 @@ const cn = {
Edit: "编辑",
Modal: {
Title: "提示词列表",
Add: "增加一条",
Add: "新建",
Search: "搜索提示词",
},
EditModal: {
Title: "编辑提示词",
},
},
HistoryCount: {
Title: "附带历史消息数",
@@ -223,6 +226,14 @@ const cn = {
SubTitle: "现在开始,与面具背后的灵魂思维碰撞",
More: "搜索更多",
},
UI: {
Confirm: "确认",
Cancel: "取消",
Close: "关闭",
Create: "新建",
Edit: "编辑",
},
};
export type LocaleType = typeof cn;