Browse Source

日常开发

林旭祥 3 weeks ago
parent
commit
7b6024b2af
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/game/index.vue

+ 2 - 2
src/views/game/index.vue

@@ -53,12 +53,12 @@
         <!---足球带球-->
         <!---足球带球-->
         <div class="columns" v-if="currentGame == 'game_football'">
         <div class="columns" v-if="currentGame == 'game_football'">
           <div class="item left">
           <div class="item left">
-            <Football ref="footballLeftRef" type="left" :currentGameArea="currentGameArea[0]"
+            <Football ref="footballLeftRef" type="left" @confirmExit="getExitGame" :currentGameArea="currentGameArea[0]"
               :areaStateList="areaStateList">
               :areaStateList="areaStateList">
             </Football>
             </Football>
           </div>
           </div>
           <div class="item right">
           <div class="item right">
-            <Football ref="footballRightRef" type="right" :currentGameArea="currentGameArea[1]"
+            <Football ref="footballRightRef" type="right" @confirmExit="getExitGame" :currentGameArea="currentGameArea[1]"
               :areaStateList="areaStateList">
               :areaStateList="areaStateList">
             </Football>
             </Football>
           </div>
           </div>