canghailong 6 miesięcy temu
rodzic
commit
560eb520ff
1 zmienionych plików z 6 dodań i 2 usunięć
  1. 6 2
      src/views/student/paper/index.vue

+ 6 - 2
src/views/student/paper/index.vue

@@ -104,30 +104,34 @@
 	})
 	const typeOptionsVal = ref([
 		{
-			label: '任务',
+			label: '考试',
+			title:'任务',
 			value: '1',
 			paperType: '6'
 		},
 		{
 			label: '章节测验',
+			title:'章节测验',
 			value: '2',
 			paperType: '3',
 			funcType: '5'
 		},
 		{
 			label: '调查问卷',
+			title:'调查问卷',
 			value: '3',
 			paperType: '5'
 		},
 		{
 			label: '作业',
+			title:'作业',
 			value: '4',
 			paperType: '2',
 			funcType: '4'
 		}
 	])
 	const examName = computed(() => {
-		return examType.value ? typeOptionsVal.value.find((e) => e.value == examType.value).label : ''
+		return examType.value ? typeOptionsVal.value.find((e) => e.value == examType.value).title : ''
 	})
 
 	const handleChangeVal = (value) => {