From d69dcdd4bf93c5ee20bafbac8a517d3e36a4049e Mon Sep 17 00:00:00 2001 From: ltx <1006158920@qq.com> Date: Mon, 20 Apr 2026 14:02:08 +0800 Subject: [PATCH] =?UTF-8?q?update:=E5=88=A0=E9=99=A4=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- src/views/user/registration/index.vue | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) 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;