mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 18:50:56 +08:00
feat: add enter key trigger for translate model prompt
This commit is contained in:
parent
d785de1895
commit
6ff28602d7
@ -62,7 +62,8 @@ const ModelSettings: FC = () => {
|
||||
message: t('settings.models.translate_model_prompt_message'),
|
||||
defaultValue: translateModelPrompt,
|
||||
inputProps: {
|
||||
rows: 10
|
||||
rows: 10,
|
||||
onPressEnter: () => {}
|
||||
}
|
||||
})
|
||||
if (prompt) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user