Skip to content

Commit

Permalink
fix: 修复windows下代码保存问题
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyang zhou committed Aug 13, 2024
1 parent 0af0ff9 commit 9c120a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default forwardRef((_: any, ref: any) => {
});

// 保存后,格式化代码
useKeyPress(['meta.s'], (event) => {
useKeyPress(['meta.s', 'ctrl.s'], (event) => {
try {
event.stopPropagation();
event.preventDefault();
Expand Down

0 comments on commit 9c120a8

Please sign in to comment.