feat:增加上传作业时是否导入成绩判断

This commit is contained in:
wyx
2023-02-16 17:52:12 +08:00
parent 44caf13993
commit 24d0928226

View File

@@ -511,6 +511,7 @@ const showFileList = computed(() => {
const handleClick = () => {
console.log(fileList.value, uploadRef.value);
// 判断当前学员作业成绩是否已经导入,如果已经导入成绩,则不允许其再次上传作业
if(submitScore.value){
ElMessage.warning("您的作业成绩已出,不能重复上传");
return