fix:增加type判断

This commit is contained in:
wyx
2023-03-03 10:43:07 +08:00
parent 123fbe5f28
commit 896a7c9c78
5 changed files with 8 additions and 6 deletions

View File

@@ -202,7 +202,7 @@ const router = useRouter();
const returnclick = () => {
router.back();
};
const { data: dataInfo } = useRequest(VOTE_DETAIL3(courseId), {});
const { data: dataInfo } = useRequest(VOTE_DETAIL3(courseId), {type});
const userInfo = computed(() => store.state.userInfo);
const answerTime = dayjs(new Date()).format("YYYY-MM-DD HH:mm:ss");