From dc2a2c5c7047402f459cc4f550b5bfd008103f64 Mon Sep 17 00:00:00 2001 From: lohir <3399054449@qq.com> Date: 星期一, 21 十月 2024 09:28:00 +0800 Subject: [PATCH] 删除江西空管关键字 --- src/views/exam-list/data-list/index.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/exam-list/data-list/index.vue b/src/views/exam-list/data-list/index.vue index 29570fe..dcf1a5d 100644 --- a/src/views/exam-list/data-list/index.vue +++ b/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({ @@ -63,7 +62,7 @@ }); const stateList = { - 1: { + 'not_start': { text: '鏈紑濮�', type: 'primary', disabled: true @@ -77,6 +76,11 @@ text: '宸茬粨鏉�', type: 'info', disabled: true + }, + 'cancel': { + text: '宸蹭綔搴�', + type: 'danger', + disabled: true } }; @@ -89,7 +93,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 +111,4 @@ .bottom-item { margin-right: 30px; } -</style> \ No newline at end of file +</style> -- Gitblit v1.8.0