Browse Source

#3793 C1191 学校/个人评测--无法正常修改试卷信息

XW 3 months ago
parent
commit
3361d65f61

+ 3 - 1
TEAMModelOS/ClientApp/src/view/evaluation/components/BaseExerciseList.vue

@@ -409,7 +409,8 @@
 				answerModal: false,
 				curEditType: "",
 				editSumaryModal: false,
-				curSummary: ""
+				curSummary: "",
+				currentExerciseIndex: 0
 			};
 		},
 		methods: {
@@ -587,6 +588,7 @@
 				if(this.isChangePaper) {
 					this.curTypeItems = arr;
 					this.currentExercise = item;
+					this.currentExerciseIndex = index
 					this.editAnsScoreModal = true;
 				} else {
 					this.currentExerciseIndex = this.exerciseList.indexOf(item); // 清单列表下的index