--fix bug

This commit is contained in:
yuping
2023-04-03 14:57:52 +08:00
parent 9e4344674d
commit 82f66ca3af

View File

@@ -643,7 +643,7 @@ function handleDialogOk() {
} }
function handleStageOk() { function handleStageOk() {
if (props.type === 1 && props.groupId && props.groupMemberCount < projectSelectRows.value.length + stuSelectRows.value.length) { if (props.type === 1 && props.groupId && (props.groupMemberCount < (props.groupMemberNumber * 1 + projectSelectRows.value.length + stuSelectRows.value.length))) {
return message.warning("添加小组学员超过最大值"); return message.warning("添加小组学员超过最大值");
} }
stageVisible.value = false; stageVisible.value = false;