Commit 1941bde1 authored by chenqikuai's avatar chenqikuai

fix

parent 525b054f
......@@ -175,8 +175,10 @@ export default defineComponent({
},
onVisibilityChange() {
if (hiddenProperty && !(document as any)[(<string>hiddenProperty)]) {
console.log('进入页面');
this.startGettingLiveRoom();
} else {
console.log('离开页面');
clearInterval(this.intervalId)
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment