ChatGPT-Next-Web/app
Call White 87c02f88d7
Fix: Chinese input method "Enter" issue
中文输入法里打英文,直接按下Enter会直接发送出去,修复这个错误。

但如果[通过 `e.isComposing` 去判断](https://github.com/Yidadaa/ChatGPT-Next-Web/pull/328/files),在 Safari 上并不兼容,因此直接全局阻止在中文输入法状态下的 Enter 的事件就可以了。
这样做没有任何副作用,因为无论是什么输入法,在输入状态 Enter 本来就不应与页面发生交互。

参考在另一个 ChatGPT 项目  :https://github.com/lencx/ChatGPT/issues/369#issuecomment-1429313208
2023-04-01 22:39:26 +08:00
..
api feat: close #2 add check account balance 2023-03-29 17:45:26 +00:00
components Fix: Chinese input method "Enter" issue 2023-04-01 22:39:26 +08:00
icons feat: #2 add prompt hints 2023-03-28 17:45:23 +00:00
locales Update: language options to "Language". 2023-03-30 23:32:56 -05:00
store fix: commit id as version id 2023-03-30 18:15:49 +00:00
styles fix: 修复在手机浏览器高度样式问题 2023-03-31 19:21:11 +08:00
constant.ts feat: use tag as version number 2023-03-30 16:46:17 +00:00
layout.tsx fix: commit id as version id 2023-03-30 18:15:49 +00:00
page.tsx feat: #9 add copy code button 2023-03-26 12:29:02 +00:00
requests.ts fix: #277 no cache for credit query 2023-03-31 18:33:26 +08:00
utils.ts feat: use tag as version number 2023-03-30 16:46:17 +00:00