src/books/mathBook/view/components/index.vue
@@ -809,9 +809,9 @@ // 获取题目列表 getQuestionId() { axios .get(this.config.activeBook.resourceUrl + "/question-list.json") .get(this.config.activeBook.resourceUrl + "/question.json") .then((res) => { this.questionId = res.data.list; this.questionId = res.data.data; }); }, // 获取题目收藏id列表 @@ -826,7 +826,6 @@ const collect = JSON.parse(res[0].value); if (collect.length) { this.collectId = collect.find(item => item.type == 'json').collectList console.log('收藏列表',this.collectId); } } catch (error) { console.log("暂无数据");