修正評審評分清單失敗問題
This commit is contained in:
@@ -14,7 +14,6 @@ export default function TestManualScoringPage() {
|
||||
|
||||
const loadCompetitionData = async () => {
|
||||
try {
|
||||
console.log('🔍 開始載入競賽數據...')
|
||||
|
||||
// 載入競賽信息
|
||||
const competitionResponse = await fetch('/api/competitions/be4b0a71-91f1-11f0-bb38-4adff2d0e33e')
|
||||
@@ -22,7 +21,6 @@ export default function TestManualScoringPage() {
|
||||
|
||||
if (competitionData.success) {
|
||||
setCompetition(competitionData.data.competition)
|
||||
console.log('✅ 競賽載入成功:', competitionData.data.competition.name)
|
||||
}
|
||||
|
||||
// 載入團隊數據
|
||||
@@ -31,15 +29,6 @@ export default function TestManualScoringPage() {
|
||||
|
||||
if (teamsData.success) {
|
||||
setTeams(teamsData.data.teams)
|
||||
console.log('✅ 團隊載入成功:', teamsData.data.teams.length, '個團隊')
|
||||
teamsData.data.teams.forEach((team: any) => {
|
||||
console.log(` - ${team.name}: ${team.apps?.length || 0} 個APP`)
|
||||
if (team.apps && team.apps.length > 0) {
|
||||
team.apps.forEach((app: any) => {
|
||||
console.log(` * ${app.name} (${app.id})`)
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
} catch (error) {
|
||||
|
Reference in New Issue
Block a user