mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-07 01:46:46 +08:00
feat:获取投票数据
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user