lilei il y a 2 ans
Parent
commit
5ac60bf1cb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

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