diff --git a/src/views/ballot/BallotPage.vue b/src/views/ballot/BallotPage.vue index b6d654d..b7ed9c9 100644 --- a/src/views/ballot/BallotPage.vue +++ b/src/views/ballot/BallotPage.vue @@ -196,11 +196,10 @@ import { watch, reactive, toRefs } from "vue"; // }); // let { votedetail } = toRefs(state); const { - query: { voteId = 136 }, + query: { courseId }, } = useRoute(); //获取基本信息 -const { data: dataInfo } = useRequest(VOTE_DETAIL2(voteId)); -console.log("dataInfo", dataInfo); +const { data: dataInfo } = useRequest(VOTE_DETAIL2(courseId)); const submitVote = () => {}; diff --git a/src/views/roadmap/PathDetails.vue b/src/views/roadmap/PathDetails.vue index da3fe40..9847fb2 100644 --- a/src/views/roadmap/PathDetails.vue +++ b/src/views/roadmap/PathDetails.vue @@ -557,7 +557,7 @@ const types = ref({ 9: '/moreactive', 10: '/starttest', 11: '/surveydetail', - 12: '去投票', + 12: '/ballotpage', 13: '去完成' } })