mock.js 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // 模拟题目数据
  2. export default [
  3. {
  4. id:1,
  5. title:"题目1",
  6. type:"1", // 1 - 单选 2 - 多选
  7. descripiton:"题目1",
  8. itemList:"[{"code":"A","optVal":"选项1"},{"code":"B","optVal":"选项1"},{"code":"C","optVal":"选项1"},{"code":"D","optVal":"选项1"}]",
  9. correctItem:"",
  10. analysis:"答案解析1111111111111111",
  11. categoryId:"1",
  12. },
  13. {
  14. id:2,
  15. title:"题目2",
  16. type:"2", // 1 - 单选 2 - 多选
  17. descripiton:"题目2",
  18. itemList:"[{"code":"A","optVal":"选项1"},{"code":"B","optVal":"选项1"},{"code":"C","optVal":"选项1"},{"code":"D","optVal":"选项1"}]",
  19. correctItem:"",
  20. analysis:"答案解析1111111111111111",
  21. categoryId:"2",
  22. },
  23. {
  24. id:3,
  25. title:"题目3",
  26. type:"1", // 1 - 单选 2 - 多选
  27. descripiton:"题目3",
  28. itemList:"[{"code":"A","optVal":"选项1"},{"code":"B","optVal":"选项1"},{"code":"C","optVal":"选项1"},{"code":"D","optVal":"选项1"}]",
  29. correctItem:"",
  30. analysis:"答案解析1111111111111111",
  31. categoryId:"1",
  32. },
  33. {
  34. id:4,
  35. title:"题目4",
  36. type:"1", // 1 - 单选 2 - 多选
  37. descripiton:"题目4",
  38. itemList:"[{"code":"A","optVal":"选项1"},{"code":"B","optVal":"选项1"},{"code":"C","optVal":"选项1"},{"code":"D","optVal":"选项1"}]",
  39. correctItem:"",
  40. analysis:"答案解析1111111111111111",
  41. categoryId:"1",
  42. },
  43. {
  44. id:5,
  45. title:"题目5",
  46. type:"2", // 1 - 单选 2 - 多选
  47. descripiton:"题目5",
  48. itemList:"[{"code":"A","optVal":"选项1"},{"code":"B","optVal":"选项1"},{"code":"C","optVal":"选项1"},{"code":"D","optVal":"选项1"}]",
  49. correctItem:"",
  50. analysis:"答案解析1111111111111111",
  51. categoryId:"1",
  52. },
  53. {
  54. id:6,
  55. title:"题目6",
  56. type:"1", // 1 - 单选 2 - 多选
  57. descripiton:"题目6",
  58. itemList:"[{"code":"A","optVal":"选项1"},{"code":"B","optVal":"选项1"},{"code":"C","optVal":"选项1"},{"code":"D","optVal":"选项1"}]",
  59. correctItem:"",
  60. analysis:"答案解析1111111111111111",
  61. categoryId:"1",
  62. },
  63. ]