src/views/exam-list/data-list/index.vue
@@ -52,7 +52,6 @@ import { getExamInfo } from '@/api/modules/exam.js'; const examStore = useExamStore(); const router = useRouter(); const props = defineProps({ @@ -73,7 +72,7 @@ type: 'success', disabled: false }, 3: { 'finished': { text: '已结束', type: 'info', disabled: true @@ -89,7 +88,7 @@ suggestTime: res.data.suggestTime, }); examStore.setExamDetail(res.data.titleList); examStore.initExam(); examStore.initExam(res.data.titleList[0].questionType); router.push('/exam'); }).catch(err => { @@ -107,4 +106,4 @@ .bottom-item { margin-right: 30px; } </style> </style>