mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-15 05:46:48 +08:00
投票
This commit is contained in:
@@ -196,11 +196,10 @@ import { watch, reactive, toRefs } from "vue";
|
|||||||
// });
|
// });
|
||||||
// let { votedetail } = toRefs(state);
|
// let { votedetail } = toRefs(state);
|
||||||
const {
|
const {
|
||||||
query: { voteId = 136 },
|
query: { courseId },
|
||||||
} = useRoute();
|
} = useRoute();
|
||||||
//获取基本信息
|
//获取基本信息
|
||||||
const { data: dataInfo } = useRequest(VOTE_DETAIL2(voteId));
|
const { data: dataInfo } = useRequest(VOTE_DETAIL2(courseId));
|
||||||
console.log("dataInfo", dataInfo);
|
|
||||||
|
|
||||||
const submitVote = () => {};
|
const submitVote = () => {};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -557,7 +557,7 @@ const types = ref({
|
|||||||
9: '/moreactive',
|
9: '/moreactive',
|
||||||
10: '/starttest',
|
10: '/starttest',
|
||||||
11: '/surveydetail',
|
11: '/surveydetail',
|
||||||
12: '去投票',
|
12: '/ballotpage',
|
||||||
13: '去完成'
|
13: '去完成'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user