From a9b551ccd8876a56db42933ecd8e26e4e866163a Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期四, 04 七月 2024 16:54:16 +0800
Subject: [PATCH] fix:名称替换
---
src/views/exam-list/data-list/index.vue | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/views/exam-list/data-list/index.vue b/src/views/exam-list/data-list/index.vue
index 11ed91c..27708ac 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({
@@ -73,7 +72,7 @@
type: 'success',
disabled: false
},
- 3: {
+ 'finished': {
text: '宸茬粨鏉�',
type: 'info',
disabled: true
@@ -84,13 +83,12 @@
console.log(exam);
getExamInfo(exam.id).then((res) => {
examStore.setExamInfo({
+ id: res.data.id,
examName: res.data.examName,
- examTime: res.data.suggestTime,
+ suggestTime: res.data.suggestTime,
});
examStore.setExamDetail(res.data.titleList);
- // examStore.setExamInfo(res.data.examInfo);
- // examStore.setExamDetail(res.data.examQuestionList);
- // examStore.initExam();
+ examStore.initExam();
router.push('/exam');
}).catch(err => {
--
Gitblit v1.8.0