fix:修复再次考试没情况状态的错误

This commit is contained in:
2026-08-03 23:05:48 +08:00
parent 69a5ab4851
commit 8f92c55852
5 changed files with 9 additions and 11 deletions

View File

@@ -4,9 +4,7 @@ import type { IQuestion } from '@/types/question.ts'
export const useQuestionStore = defineStore('question', {
state: () => ({
hasStart: false,
hasSubmit: false,
hasGenerateQuestion: false,
type: 'Practice' as 'Practice' | 'Exam',
questionContent: '',
questionList: [] as IQuestion[],