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

+ 1 - 1
app/service/matchTeamGroup.js

@@ -193,7 +193,7 @@ class MatchTeamGroupService extends CrudService {
    */
   async canOpera(match_id) {
     const num = await this.matchModel.count({ _id: match_id, status: [ '1', '2' ] });
-    return num <= 0;
+    return num > 0;
 
   }
 }