Explorar el Código

perf: 修改ctrl默认值

奔跑的面条 hace 3 años
padre
commit
43713ba7dc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/chart/hooks/useKeyboard.hook.ts

+ 1 - 1
src/views/chart/hooks/useKeyboard.hook.ts

@@ -109,7 +109,7 @@ const macKeyList: Array<string> = [
 const keyRecordHandle = () => {
   // 默认赋值
   window.$KeyboardActive = {
-    ctrl: true
+    ctrl: false
   }
   
   document.onkeydown = (e: KeyboardEvent) => {