|
@@ -124,7 +124,7 @@ import { config } from "shelljs";
|
|
},
|
|
},
|
|
updateBlurtime(){
|
|
updateBlurtime(){
|
|
this.onblurTime = Date.now() + 15*60 * 1000
|
|
this.onblurTime = Date.now() + 15*60 * 1000
|
|
- console.log("updateBlurtime", this.onblurTimes)
|
|
|
|
|
|
+ console.log("updateBlurtime", this.onblurTime)
|
|
},
|
|
},
|
|
startMonitor() {
|
|
startMonitor() {
|
|
let that = this
|
|
let that = this
|
|
@@ -163,7 +163,6 @@ import { config } from "shelljs";
|
|
if( this.media.isFinish ) return;
|
|
if( this.media.isFinish ) return;
|
|
|
|
|
|
if( !force && !this.onPlay ) return;
|
|
if( !force && !this.onPlay ) return;
|
|
- console.log("tick", this.onblurTime )
|
|
|
|
if( this.onblurTime < Date.now() ){
|
|
if( this.onblurTime < Date.now() ){
|
|
this.tickWait();
|
|
this.tickWait();
|
|
return
|
|
return
|