This commit is contained in:
yuping
2022-12-13 05:34:28 +08:00
parent 167058a18d
commit b7d6b4c04e
2 changed files with 3 additions and 4 deletions

View File

@@ -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 = () => {};
</script>

View File

@@ -557,7 +557,7 @@ const types = ref({
9: '/moreactive',
10: '/starttest',
11: '/surveydetail',
12: '去投票',
12: '/ballotpage',
13: '去完成'
}
})