walter 1 year ago
parent
commit
6fc2da8f43
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/point/views/pointHome.vue

+ 1 - 1
src/point/views/pointHome.vue

@@ -1281,7 +1281,6 @@ export default {
         })
     },
     getPkRankList(docId){
-      this.pkTeamLoading = true;
       if (!this.pkTimeScope || this.pkTimeScope.length !== 2) {
         this.pkTeamList = [];
         return;
@@ -1294,6 +1293,7 @@ export default {
         start_date:this.pkTimeScope[0],
         end_date:this.pkTimeScope[1]
       };
+      this.pkTeamLoading = true;
       this.$socketApiTow.sendData(params,(res) => {
         if (res.type != type || res.code != 1) return;
         this.pkTeamList = res.result.teams;