update:删除提示
This commit is contained in:
parent
a57a748cc2
commit
d69dcdd4bf
2
.env
2
.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/'
|
||||
VITE_PUBLIC_PATH = 'https://yuedong-wechatapplet.oss-cn-shanghai.aliyuncs.com/static/event_web/202604200940/'
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user