xjc пре 3 година
родитељ
комит
f9f5a1be7e
1 измењених фајлова са 5 додато и 1 уклоњено
  1. 5 1
      src/views/match/group.vue

+ 5 - 1
src/views/match/group.vue

@@ -170,7 +170,11 @@ export default {
     },
     },
     created(){
-       this.getData() 
+        this.$api.getMatchList().then(res=>{
+            this.matchList=res.data.data
+            this.queryParams.match_id = this.matchList[0].id;
+            this.getData() 
+        })
     }
 }
 </script>