Эх сурвалжийг харах

有遮罩层的情况下,不接受键盘输入

Michael Wang 4 жил өмнө
parent
commit
85aec4a19b

+ 1 - 0
src/features/mark/MarkBoardKeyBoard.vue

@@ -175,6 +175,7 @@ export default defineComponent({
     function numberKeyListener(event: KeyboardEvent) {
       // console.log(event);
       if (!store.currentQuestion || !store.currentTask) return;
+      if (store.globalMask) return;
 
       function indexOfCurrentQuestion() {
         return store.currentTask?.questionList.findIndex(