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) => {