mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-11 03:46:48 +08:00
feat:增加上传作业时是否导入成绩判断
This commit is contained in:
@@ -511,6 +511,7 @@ const showFileList = computed(() => {
|
|||||||
|
|
||||||
const handleClick = () => {
|
const handleClick = () => {
|
||||||
console.log(fileList.value, uploadRef.value);
|
console.log(fileList.value, uploadRef.value);
|
||||||
|
// 判断当前学员作业成绩是否已经导入,如果已经导入成绩,则不允许其再次上传作业
|
||||||
if(submitScore.value){
|
if(submitScore.value){
|
||||||
ElMessage.warning("您的作业成绩已出,不能重复上传");
|
ElMessage.warning("您的作业成绩已出,不能重复上传");
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user