lrf 2 年之前
父节点
当前提交
a744d6d525
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/matchSmallGroupSchedule.js

+ 1 - 1
app/service/matchSmallGroupSchedule.js

@@ -45,7 +45,7 @@ class MatchSmallGroupScheduleService extends CrudService {
     for (const team_id in list) {
       const groups = list[team_id];
       const team_name = _.get(_.head(groups), 'team_name');
-      const obj = { team_name };
+      const obj = { team_name, team_id };
       let players = [];
       const p1s = groups.map(i => ({ player: i.player_one, player_name: i.player_one_name }));
       const p2s = groups.map(i => ({ player: i.player_two, player_name: i.player_two_name }));