| | |
| | | import MG from "@/assets/js/middleGround/WebMiddleGroundApi"; |
| | | import getPublicImage from "@/assets/js/middleGround/tool"; |
| | | const getQuestionList = async (oldList, questionList,activeBook) => { |
| | | const getQuestionList = async (page, questionList,activeBook) => { |
| | | console.log('page',page); |
| | | const oldAnswerData = localStorage.getItem(activeBook.name + 'oldAnswerData') |
| | | let oldData = null |
| | | let oldList = [] |
| | | if(oldAnswerData) { |
| | | oldData = JSON.parse(oldAnswerData) |
| | | } |
| | | if(oldData && oldData[page]) { |
| | | oldList = oldData[page] |
| | | } |
| | | let cardList = [ |
| | | { |
| | | catalogName: "单选题", |