* [bug#57347,done,1h] fix bug.

This commit is contained in:
sunguangming
2025-05-19 10:26:26 +08:00
committed by 刘刚
parent 8ac4b5c94a
commit c4ccac8ab3
+5 -1
View File
@@ -163,7 +163,11 @@ function updateAssignedTo()
index ++;
});
if(multiple && mode == 'linear' && $('#modalTeam tr.member-doing').length == 0 && $('#modalTeam tr.member-wait').length >= 1) assignedTo = assignedToItems[0].value;
if(multiple && mode == 'linear' && $('#modalTeam tr.member-doing').length == 0 && $('#modalTeam tr.member-wait').length >= 1)
{
index --;
assignedTo = assignedToItems[index].value;
}
$assignedToPicker.render({items: assignedToItems, disabled: true});
}