|
@@ -62,6 +62,7 @@ class StatisticsService extends CrudService {
|
|
|
let score = 0; // 积分
|
|
|
for (const match of list) {
|
|
|
const { red_id, blue_id, red_branch, blue_branch } = match;
|
|
|
+ if (!red_branch && !blue_branch) continue;
|
|
|
let teamInMatch = 'blue';
|
|
|
if (red_id === team_id) teamInMatch = 'red';
|
|
|
else if (blue_id === team_id) teamInMatch = 'blue';
|