6
This commit is contained in:
@@ -131,8 +131,10 @@
|
||||
var that = this;
|
||||
if (this.currentTime) {
|
||||
that.setVideoTime();
|
||||
console.log('我是onload定义的定时');
|
||||
}
|
||||
}, 60000);
|
||||
|
||||
},
|
||||
|
||||
methods: {
|
||||
@@ -182,10 +184,11 @@
|
||||
}
|
||||
this.options = data.currentVideo;
|
||||
console.log("this.options at line 64:", this.options);
|
||||
this.videoId = this.options.video;
|
||||
this.videoId = this.options.video;
|
||||
this.timer = setInterval(async () => {
|
||||
var that = this;
|
||||
if (this.currentTime) {
|
||||
console.log('我是init定义的定时');
|
||||
await that.setVideoTime();
|
||||
}
|
||||
}, 60000);
|
||||
|
||||
Reference in New Issue
Block a user