This commit is contained in:
2025-12-14 17:38:35 +08:00
parent 8c56251d72
commit b7b8947939
16 changed files with 659 additions and 201 deletions

View File

@@ -105,6 +105,7 @@ export default {
const {
token,
userRole,
refereeType,
matchId,
matchName,
matchTime,
@@ -121,6 +122,7 @@ export default {
// 保存用户信息到全局数据
getApp().globalData = {
userRole, // 'pub' 或 'admin'
refereeType, // 1-裁判长, 2-普通裁判
matchCode: this.matchCode,
matchId,
matchName,
@@ -129,7 +131,7 @@ export default {
judgeName,
venueId, // 普通评委有场地裁判长为null
venueName,
projects, // 分配的项目列表
projects, // 分配的项目列表(从登录接口返回)
currentProjectIndex: 0 // 当前选中的项目索引
}