Browse Source

日常开发

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

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

@@ -212,7 +212,6 @@ const getExit = () => {
  * 退出游戏
  */
 const getExitGame = () => {
-  currentGame.value = "";
   let obj = projectList.value.find((item: any) => {
     return item.exam_name == currentGame.value
   })
@@ -220,6 +219,7 @@ const getExitGame = () => {
   myList.forEach((item: any) => {
     terminateBodypose(item);
   })
+  currentGame.value = "";
 };
 
 onBeforeMount(async () => {