This commit is contained in:
=
2026-04-02 09:37:35 +08:00
parent 73f53fc858
commit 8e2b7775c7
@@ -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