From b03d9d8051e49a2e4f3dd7190eeddb02bfab7cf3 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Mon, 13 Feb 2023 19:22:52 +0800 Subject: [PATCH] =?UTF-8?q?--fix=20=E6=B7=BB=E5=8A=A0=E6=8A=95=E7=A5=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/indexVote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/indexVote.js b/src/api/indexVote.js index 36877226..0fc677c9 100644 --- a/src/api/indexVote.js +++ b/src/api/indexVote.js @@ -83,7 +83,7 @@ export const fileUp = (obj) => http.post("/file/upload", obj, qs.stringify({ obj })); //根据题干ID获取投票任务 export const queryVoteDetailById = (voteID) => - http.post(`/vote/queryVoteById?voteId=${voteID}`); + http.get(`/vote/queryVoteById?voteId=${voteID}`); // 测试方法 // import * as api from '../../api/index'