|
@@ -238,6 +238,7 @@ function numberKeyListener(event: KeyboardEvent) {
|
|
|
if (idx > 0) {
|
|
|
chooseQuestion(store.currentTask.questionList[idx - 1]);
|
|
|
}
|
|
|
+ event.preventDefault();
|
|
|
return;
|
|
|
}
|
|
|
if (event.key === "ArrowRight") {
|
|
@@ -245,6 +246,7 @@ function numberKeyListener(event: KeyboardEvent) {
|
|
|
if (idx < store.currentTask.questionList.length - 1) {
|
|
|
chooseQuestion(store.currentTask.questionList[idx + 1]);
|
|
|
}
|
|
|
+ event.preventDefault();
|
|
|
return;
|
|
|
}
|
|
|
// 处理回退删除分数
|