From cc8d1a32cafcab5377d51a4cebc17690a1e7d0d3 Mon Sep 17 00:00:00 2001 From: JayChou Date: Wed, 5 Feb 2025 17:25:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E5=90=8D=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/raceInfo/index.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/raceInfo/index.vue b/src/views/raceInfo/index.vue index 60d8030..8a1c4f3 100644 --- a/src/views/raceInfo/index.vue +++ b/src/views/raceInfo/index.vue @@ -227,10 +227,12 @@ getraceInfoEvent() // 前往年度比赛页面 const goToCompetition = async (id: any) => { const projectId = await getProjectId({ anncmopid: id }) - console.log(projectId) + console.log(projectId.result) - return - Router.push({ path: '/competition', query: { id, raceId: Route.query.id } }) + // return + Router.push(`/projectName?id=${projectId.result}&bcId=${projectId.result}`) + + // Router.push({ path: '/competition', query: { id, raceId: Route.query.id } }) } const doLoadFile = (url: any) => {