fix: Enter key bug

This commit is contained in:
xiaotianxt 2023-03-28 11:07:59 +08:00
parent a2807c9815
commit 6c82f804ae

View File

@ -135,7 +135,8 @@ function useSubmitHandler() {
(config.submitKey === SubmitKey.Enter &&
!e.altKey &&
!e.ctrlKey &&
!e.shiftKey)
!e.shiftKey &&
!e.metaKey)
);
};