|
@@ -67,9 +67,8 @@
|
|
<script>
|
|
<script>
|
|
import QuestionBody from "./QuestionBody";
|
|
import QuestionBody from "./QuestionBody";
|
|
import { createNamespacedHelpers } from "vuex";
|
|
import { createNamespacedHelpers } from "vuex";
|
|
-const { mapMutations, mapGetters } = createNamespacedHelpers(
|
|
|
|
- "examingHomeModule"
|
|
|
|
-);
|
|
|
|
|
|
+const { mapMutations, mapGetters } =
|
|
|
|
+ createNamespacedHelpers("examingHomeModule");
|
|
|
|
|
|
const optionName = "ABCDEFGHIJ".split("");
|
|
const optionName = "ABCDEFGHIJ".split("");
|
|
export default {
|
|
export default {
|
|
@@ -106,9 +105,10 @@ export default {
|
|
newQuestionOptions() {
|
|
newQuestionOptions() {
|
|
return this.question.questionOptionList.map((v, i) => {
|
|
return this.question.questionOptionList.map((v, i) => {
|
|
return {
|
|
return {
|
|
- value: this.question.questionOptionList[
|
|
|
|
- this.examQuestion.optionPermutation[i]
|
|
|
|
- ],
|
|
|
|
|
|
+ value:
|
|
|
|
+ this.question.questionOptionList[
|
|
|
|
+ this.examQuestion.optionPermutation[i]
|
|
|
|
+ ],
|
|
oldIndex: "" + this.examQuestion.optionPermutation[i],
|
|
oldIndex: "" + this.examQuestion.optionPermutation[i],
|
|
name: optionName[i],
|
|
name: optionName[i],
|
|
};
|
|
};
|