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=>{