@@ -17,6 +17,7 @@ export function useCheckMultipleAnswer() {
positiveText: "跳过此题",
negativeText: "继续作答",
onPositiveClick: callback,
+ maskClosable: false,
});
};
return {
@@ -55,7 +55,7 @@ export function useRealSubmitPaper(
(q) => q.isStarred
).length;
const hasMultipleChoiceHalfAnswer = store.exam.examQuestionList.some(item=>{
- return item.questionType==='MULTIPLE_CHOICE' && typeof(item.studentAnswer)==='string' && item.studentAnswer.length==1
+ return item.questionType==='MULTIPLE_CHOICE' && ((typeof(item.studentAnswer)==='string' && item.studentAnswer.length<2) || !item.studentAnswer)
})
$dialog.info({
title: "确认交卷",