zs 2 年之前
父节点
当前提交
c030be598a
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/views/match/course/detail.vue

+ 0 - 3
src/views/match/course/detail.vue

@@ -90,15 +90,12 @@ const toSave = async (data) => {
   if (red) {
     data.red_team_name = red.team_name;
     data.red_person = red.user_id;
-    data.red_score = '0';
   }
   const blue = applicationList.value.find((i) => i.team_id == data.blue_team_id);
   if (blue) {
     data.blue_team_name = blue.team_name;
     data.blue_person = blue.user_id;
-    data.blue_score = '0';
   }
-  data.winner = '';
   let res: IQueryResult;
   if (data._id) res = await courseAxios.update(data);
   else res = await courseAxios.create(data);