From 320fde3f4c3c252d9e0c2e8963e338542db9c2cd Mon Sep 17 00:00:00 2001 From: wyx Date: Sat, 4 Mar 2023 17:42:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PathDetailImage.vue | 1 + src/views/ballot/BallotPage.vue | 4 ++-- src/views/discussdetail/DiscussDetail.vue | 1 + src/views/faceteach/FaceTeachSignUp.vue | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/PathDetailImage.vue b/src/components/PathDetailImage.vue index a8899c7..fd16735 100644 --- a/src/components/PathDetailImage.vue +++ b/src/components/PathDetailImage.vue @@ -133,6 +133,7 @@ function toDetail(i) { ElMessage.warning("当前关卡不可预览"); return } + isStudy = true; }else{ if (current.value !== i) { let lookArr = []; diff --git a/src/views/ballot/BallotPage.vue b/src/views/ballot/BallotPage.vue index 2e04576..764a421 100644 --- a/src/views/ballot/BallotPage.vue +++ b/src/views/ballot/BallotPage.vue @@ -208,7 +208,7 @@ const answerTime = dayjs(new Date()).format("YYYY-MM-DD HH:mm:ss"); // 增加浏览量 watch(dataInfo, () => { - useRequest(EditVoteInvolvedAndBrowse, {operationType:2, voteId:dataInfo.value.id }); + useRequest(EditVoteInvolvedAndBrowse, {operationType:'2', voteId:dataInfo.value.id }); }) // 选择题目 @@ -251,7 +251,7 @@ const submitVote = () => { }; useRequest(VOTE_DETAIL_SUBMIT, obj); // 增加参与数目 - useRequest(EditVoteInvolvedAndBrowse, {operationType:1, voteId:dataInfo.value.id }); + useRequest(EditVoteInvolvedAndBrowse, {operationType:'1', voteId:dataInfo.value.id }); }; diff --git a/src/views/discussdetail/DiscussDetail.vue b/src/views/discussdetail/DiscussDetail.vue index 06ac67d..0a33e5c 100644 --- a/src/views/discussdetail/DiscussDetail.vue +++ b/src/views/discussdetail/DiscussDetail.vue @@ -411,6 +411,7 @@ const getData = () => { request(COMMENT_LIST, { id: e.data.id, type: 1, + current:hfPage.value.currentPage, pageNo:hfPage.value.currentPage, pageSize:10 }).then(res=>{ diff --git a/src/views/faceteach/FaceTeachSignUp.vue b/src/views/faceteach/FaceTeachSignUp.vue index 71042d3..be8a150 100644 --- a/src/views/faceteach/FaceTeachSignUp.vue +++ b/src/views/faceteach/FaceTeachSignUp.vue @@ -388,6 +388,7 @@ const getData = () => { request(COMMENT_LIST, { id: courseId, type: 2, + current:hfPage.value.currentPage, pageNo:hfPage.value.currentPage, pageSize:10 }).then(res=>{