update:名称

This commit is contained in:
ltx 2026-09-16 15:38:15 +08:00
parent b157e73eb2
commit c264a602d5
3 changed files with 14 additions and 5 deletions

2
app.js
View File

@ -1,6 +1,6 @@
App({
globalData: {
baseUrl: 'http://127.0.0.1:9997',
baseUrl: 'https://jitsi-web.yuedongsports.com',
// baseUrl: 'https://event.yuedongsports.com',
accessToken: '',
refreshToken: '',

View File

@ -31,9 +31,18 @@
"compileType": "miniprogram",
"simulatorPluginLibVersion": {},
"packOptions": {
"ignore": [],
"ignore": [
{
"type": "folder",
"value": ".codex-admin-build-check"
},
{
"type": "folder",
"value": ".codex-runtime"
}
],
"include": []
},
"editorSetting": {},
"libVersion": "3.15.1"
}
}

View File

@ -5,7 +5,7 @@ const ROLE = {
};
const ROLE_META = {
participant: { value: 'participant', label: '参赛者', description: '报名参赛并查询个人成绩' },
participant: { value: 'participant', label: '运动员', description: '报名参赛并查询个人成绩' },
referee: { value: 'referee', label: '裁判', description: '完成裁判认证后参与执裁' },
checker: { value: 'checker', label: '检录员', description: '查看检录轮次并完成现场检录' }
};
@ -19,7 +19,7 @@ function normalizeRole(value) {
athlete: ROLE.PARTICIPANT,
user: ROLE.PARTICIPANT,
player: ROLE.PARTICIPANT,
'参赛者': ROLE.PARTICIPANT,
'运动员': ROLE.PARTICIPANT,
'2': ROLE.REFEREE,
referee: ROLE.REFEREE,
judge: ROLE.REFEREE,