From 0eccbf9c99aa91fe1de2c34c9ca4baf5a063bc33 Mon Sep 17 00:00:00 2001 From: lenghui Date: Sat, 21 Dec 2024 18:08:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/CanApi.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/CanApi.js b/src/api/CanApi.js index c563b4b..7371411 100644 --- a/src/api/CanApi.js +++ b/src/api/CanApi.js @@ -14,8 +14,8 @@ const CanApi = { return service.post('/vote',formData) }, //查看详情 - Detail(){ - return service.get(`/getVotesByCandidate/{}`) + Detail(candidateJwCode){ + return service.get(`/getVotesByCandidate/${candidateJwCode}`) } }