lrf 2 years ago
parent
commit
7312a4df49
1 changed files with 1 additions and 1 deletions
  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;
 
   }
 }