From 8ce5acd0a7a61de43cbd2d3d1ece2c6c9287779a Mon Sep 17 00:00:00 2001 From: user1 <10901603+no-distractions1@user.noreply.gitee.com> Date: 星期一, 24 六月 2024 11:15:05 +0800 Subject: [PATCH] 艺术戏剧(选择题完成) --- src/books/mathBook/view/components/index.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/books/mathBook/view/components/index.vue b/src/books/mathBook/view/components/index.vue index 415d301..44910de 100644 --- a/src/books/mathBook/view/components/index.vue +++ b/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("鏆傛棤鏁版嵁"); -- Gitblit v1.9.1