feat: 完成提交作业的后端

This commit is contained in:
2025-08-14 11:38:09 +08:00
parent 24622d30cf
commit e5dac3e731
13 changed files with 808 additions and 203 deletions

View File

@@ -473,7 +473,7 @@ const canCreateExam = computed(() => {
editExamInfo.value.id.trim() !== "" &&
editExamInfo.value.name.trim() !== "" &&
editExamInfo.value.description.trim() !== "" &&
uploadFiles.value.mdFile !== null
(uploadFiles.value.mdFile !== null || mode.value === "edit")
);
});