From 504393ff2bf32890a453c70df18c3fbccf48ea22 Mon Sep 17 00:00:00 2001 From: svd Date: Tue, 26 Oct 2021 11:10:33 +0800 Subject: [PATCH] del debug log --- components/AudioPlayerMini.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/AudioPlayerMini.vue b/components/AudioPlayerMini.vue index 2010f3b0..0fe73f24 100644 --- a/components/AudioPlayerMini.vue +++ b/components/AudioPlayerMini.vue @@ -214,9 +214,10 @@ export default { async set(audiobookStreamData, stream, fromAppDestroy) { this.isResetting = false this.initObject = { ...audiobookStreamData } + var init = true if (!!stream) { - console.log(JSON.stringify(stream)) + //console.log(JSON.stringify(stream)) var data = await MyNativeAudio.getStreamSyncData() console.log('getStreamSyncData', JSON.stringify(data)) console.log('lastUpdate', !!stream.lastUpdate ? stream.lastUpdate : 0) @@ -247,6 +248,7 @@ export default { } } } + this.currentPlaybackRate = this.initObject.playbackSpeed if (init) MyNativeAudio.initPlayer(this.initObject).then((res) => { if (res && res.success) {