mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-10 03:16:47 +08:00
feat:合并
This commit is contained in:
@@ -159,10 +159,13 @@ import {
|
||||
VOTE_DETAIL2,
|
||||
} from "@/api/api";
|
||||
import dayjs from "dayjs";
|
||||
|
||||
import { useRoute } from "vue-router/dist/vue-router";
|
||||
// const { data } = useRequest(TASK_VOTE_DETAIL, {});
|
||||
// console.log("datadatadata", data);
|
||||
const { dataInfo } = useRequest(VOTE_DETAIL2, { ballotId: 3 });
|
||||
const {
|
||||
query: { ballotId = 3 },
|
||||
} = useRoute();
|
||||
const { data: dataInfo } = useRequest(VOTE_DETAIL2, { ballotId: ballotId });
|
||||
console.log("dataInfo", dataInfo);
|
||||
const handleClick = (tab, event) => {
|
||||
console.log(tab, event);
|
||||
|
||||
Reference in New Issue
Block a user