Commit 2ad9a447 authored by liujiangnan's avatar liujiangnan

debug

parent 88a62a43
...@@ -72,12 +72,11 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -72,12 +72,11 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
this.isPlaying = false; // 重置播放状态 this.isPlaying = false; // 重置播放状态
}); });
this.wavesurfer.on('audioprocess', () => { this.wavesurfer.on('audioprocess', () => {
console.log('audioprocess');
this.updateCurrentTime();
});
this.wavesurfer.on('seek', () => {
this.updateCurrentTime(); this.updateCurrentTime();
}); });
// this.wavesurfer.on('seek', () => {
// this.updateCurrentTime();
// });
if (this.item.bg_audio_url) { if (this.item.bg_audio_url) {
this.wavesurfer.load(this.item.bg_audio_url); this.wavesurfer.load(this.item.bg_audio_url);
......
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