Commit ccada5d1 by kyle

当观看时间为0时,不保存轨迹

parent 2e7a2bf8
......@@ -411,6 +411,10 @@
playbackStatus: this.viewTime >= this.totalTime ? '2' : '1'
}
return new Promise((resolve,reject)=>{
if(this.viewTime == 0){
resolve('success');
return;
}
api.saveVideoPlayback(param).then(res => {
if (res['success']) {
this.playbackId = res['data']['id'];
......
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