src/views/exam-list/data-list/index.vue
@@ -62,7 +62,7 @@ }); const stateList = { 1: { 'not_start': { text: '未开始', type: 'primary', disabled: true @@ -76,6 +76,11 @@ text: '已结束', type: 'info', disabled: true }, 'cancel': { text: '已作废', type: 'danger', disabled: true } }; @@ -88,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 => { @@ -106,4 +111,4 @@ .bottom-item { margin-right: 30px; } </style> </style>