Explorar el Código

weird type checking

Michael Wang hace 4 años
padre
commit
08893038a7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/features/mark/MarkHistory.vue

+ 1 - 1
src/features/mark/MarkHistory.vue

@@ -242,7 +242,7 @@ export default defineComponent({
       }
     }
 
-    function _updateSecretNumber(event: InputEvent) {
+    function _updateSecretNumber(event: Event) {
       const inputEle = event.target as HTMLInputElement;
       secretNumberInput.value = inputEle.value ?? "";
     }