lilei hace 2 años
padre
commit
5ac60bf1cb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
       }
     })