feat:获取投票数据

This commit is contained in:
lixg
2022-12-11 21:25:20 +08:00

View File

@@ -165,7 +165,7 @@ import { useRoute } from "vue-router/dist/vue-router";
const {
query: { ballotId = 3 },
} = useRoute();
const { data: dataInfo } = useRequest(VOTE_DETAIL2, { ballotId });
const { data: dataInfo } = useRequest(VOTE_DETAIL2(ballotId));
console.log("dataInfo", dataInfo);
const handleClick = (tab, event) => {
console.log(tab, event);