From bb309c72afcf6a1370354386f73f54e89c628c7b Mon Sep 17 00:00:00 2001 From: cgd_mac <349008059@qq.com> Date: Thu, 13 Jan 2022 16:28:18 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=88=91=E7=9A=84=E7=BB=83=E4=B9=A0?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/practice/practice.js | 8 +- src/components/DbQuestionInfoItem/index.vue | 18 +++- src/views/mycollection/index.vue | 97 +++++++++++++++------ src/views/myexamDetail/index.vue | 2 +- 4 files changed, 90 insertions(+), 35 deletions(-) diff --git a/src/api/practice/practice.js b/src/api/practice/practice.js index 26df275..34a917e 100644 --- a/src/api/practice/practice.js +++ b/src/api/practice/practice.js @@ -6,16 +6,16 @@ const practiceApi = { del: 'practice/del', list: 'practice/list', collectionList: 'practice/collection/pageList', // 我的收藏列表 - recordList: 'practice/record/pageList', // 错题集 - wrongList: 'practice/wrong/pageList', // 答题记录 - startAnswer: 'practice/startAnswer', // 开始答题 + recordList: 'practice/record/pageList', // 答题记录 + wrongList: 'practice/wrong/pageList', // 错题集 + startAnswer: 'practice/startAnswer' // 开始答题 } export function practiceStartAnswer(params) { return request({ url: practiceApi.startAnswer, method: 'post', - data: params + params: params }) } diff --git a/src/components/DbQuestionInfoItem/index.vue b/src/components/DbQuestionInfoItem/index.vue index 60fc4e9..f1a09ac 100644 --- a/src/components/DbQuestionInfoItem/index.vue +++ b/src/components/DbQuestionInfoItem/index.vue @@ -7,9 +7,15 @@