From 8e2b7775c7a2474c0f9c196ba6ab1d96fbc567a8 Mon Sep 17 00:00:00 2001 From: = <=> Date: Thu, 2 Apr 2026 09:37:35 +0800 Subject: [PATCH] commit --- .../views/platform/activity/school/ActivityApply.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/resources/views/platform/activity/school/ActivityApply.html b/src/main/resources/views/platform/activity/school/ActivityApply.html index d9089cc..3440d7a 100644 --- a/src/main/resources/views/platform/activity/school/ActivityApply.html +++ b/src/main/resources/views/platform/activity/school/ActivityApply.html @@ -1981,7 +1981,11 @@ layout("/layouts/platform.html"){ const {users, awardsModeT, awardsModeG, team, activity, getEvent} = resp.data this.activityData = activity this.eventData = getEvent - this.teams = team + this.teams = team.sort((a, b) => { + const numA = parseInt(a.name.replace('第', '').replace('队', '')) + const numB = parseInt(b.name.replace('第', '').replace('队', '')) + return numA - numB + }) if (this.teams.length) { this.team = this.teams[0].id this.teamId = this.teams[0].id