lilei 2 years ago
parent
commit
5ac60bf1cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

@@ -51,7 +51,7 @@ export default {
       }
       }
     })
     })
     window.addEventListener('blur',(e)=>{
     window.addEventListener('blur',(e)=>{
-      if(!this.$store.state.app.visibilityState){
+      if(this.$store.state.app.visibilityState){
         this.$store.state.app.visibilityState = false
         this.$store.state.app.visibilityState = false
       }
       }
     })
     })