|
@@ -71,7 +71,7 @@ const { mapMutations, mapGetters } = createNamespacedHelpers(
|
|
"examingHomeModule"
|
|
"examingHomeModule"
|
|
);
|
|
);
|
|
|
|
|
|
-const optionName = ["A", "B", "C", "D", "E", "F"];
|
|
|
|
|
|
+const optionName = "ABCDEFGHIJ".split("");
|
|
export default {
|
|
export default {
|
|
name: "SingleQuestionView",
|
|
name: "SingleQuestionView",
|
|
data() {
|
|
data() {
|
|
@@ -107,7 +107,8 @@ export default {
|
|
["checkbox", "radio"].includes(document.activeElement.type))
|
|
["checkbox", "radio"].includes(document.activeElement.type))
|
|
) {
|
|
) {
|
|
if (
|
|
if (
|
|
- ["KeyA", "KeyB", "KeyC", "KeyD", "KeyE", "KeyF", "KeyG"]
|
|
|
|
|
|
+ optionName
|
|
|
|
+ .map(v => "Key" + v)
|
|
.slice(0, this.question.questionOptionList.length)
|
|
.slice(0, this.question.questionOptionList.length)
|
|
.includes(e.code)
|
|
.includes(e.code)
|
|
) {
|
|
) {
|