@@ -124,7 +124,7 @@
},
created() {
this.startTick()
- // this.startMonitor()
+ this.startMonitor()
methods: {
startTick(){
@@ -211,9 +211,11 @@
document.addEventListener("visibilitychange", function() {
// || document.hidden
if( document.visibilityState == "hidden"){
- that.doPause( )
+ // that.doPause( )
+ that.reportErr("play", 'hidden');
}else{
- that.doPlay()
+ that.reportErr("play", 'show');
+ // that.doPlay()
}
});