lilei 2 年之前
父节点
当前提交
5ac60bf1cb
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
       }
     })