diff --git a/.env b/.env index aa76c75..9cf578c 100644 --- a/.env +++ b/.env @@ -8,4 +8,4 @@ VITE_OPEN = true VITE_OPEN_CDN = false # public path 配置线上环境路径(打包)、本地通过 http-server 访问时,请置空即可 -VITE_PUBLIC_PATH = 'https://yuedong-wechatapplet.oss-cn-shanghai.aliyuncs.com/static/event_web/202604090912/' \ No newline at end of file +VITE_PUBLIC_PATH = 'https://yuedong-wechatapplet.oss-cn-shanghai.aliyuncs.com/static/event_web/202604200940/' \ No newline at end of file diff --git a/src/views/user/registration/index.vue b/src/views/user/registration/index.vue index e1b523e..d17efaa 100644 --- a/src/views/user/registration/index.vue +++ b/src/views/user/registration/index.vue @@ -1815,6 +1815,7 @@ const handleStep2Next = async () => { // 检查是否为团队项目且启用了多团队模式 if (isTeamProject(g) && groupTeamsMap.value[gId] && groupTeamsMap.value[gId].length > 0) { for (const team of groupTeamsMap.value[gId]) { + console.log(`检查组别 ${g.groupName ?? g.name} 的团队 ${team.teamIndex} 是否有队员`, team.members); if (team.members.length > 0) { hasMembers = true; break; @@ -1830,10 +1831,12 @@ const handleStep2Next = async () => { } } - if (emptyGroups.length > 0) { - ElMessage.warning(`请为所有组别分配队员,"${emptyGroups[0].groupName ?? emptyGroups[0].name}"尚未分配`); - return; - } + // if (emptyGroups.length > 0) { + // console.log('未分配队员的组别:', emptyGroups); + // console.warn('以下组别未分配队员:', emptyGroups.map(g => g.groupName ?? g.name).join(', ')); + // ElMessage.warning(`请为所有组别分配队员,"${emptyGroups[0].groupName ?? emptyGroups[0].name}"尚未分配`); + // return; + // } // 检查是否已选择团队 const currentTeamId = usedTeamId.value ?? selectedTeamId.value;