ZhangXianQiang
2024-07-01 8ccf0848c12460cbfb939c1f8da6e11a602eccea
src/store/modules/grade.js
@@ -1,6 +1,6 @@
import { ref, computed } from 'vue';
import { defineStore } from 'pinia';
export const useGradeStore = defineStore('exam', () => {
export const useGradeStore = defineStore('grade', () => {
  const examInfo = ref({
    examId: 1,
    examName: '考试名称',
@@ -32,6 +32,7 @@
          "gradeLevel": null,
          "subjectId": 2,
          "title": "1+1=?",
          "img": '/test_question.png',
          "items": [
            {
              "prefix": "A",
@@ -99,6 +100,7 @@
          "gradeLevel": null,
          "subjectId": 2,
          "title": "1+1=?",
          "img": '/test_question.png',
          "items": [
            {
              "prefix": "A",
@@ -192,6 +194,7 @@
          "gradeLevel": null,
          "subjectId": 2,
          "title": "1+1=?",
          "img": '/test_question.png',
          "items": [
            {
              "prefix": "A",
@@ -260,6 +263,7 @@
          "subjectId": 2,
          "title": "测试音频1",
          "audioFile": '/test.mp3',
          "img": '/test_question.png',
          "items": [
            {
              "prefix": "A",