diff --git a/pages/API/create-inner-audio-context/create-inner-audio-context.uvue b/pages/API/create-inner-audio-context/create-inner-audio-context.uvue index 0eb3fa0f14e0fe5d5274693adf17df409bcbcbad..2dd3522f7bc70031265685768fd980959f70a836 100644 --- a/pages/API/create-inner-audio-context/create-inner-audio-context.uvue +++ b/pages/API/create-inner-audio-context/create-inner-audio-context.uvue @@ -130,7 +130,7 @@ this.onEnded() }, onUnload() { - if (this._audioContext != null && this.isPlaying) { + if (this._audioContext != null) { if (this.isPlaying) { this.stop(); } @@ -151,8 +151,9 @@ this._isChanging = true; }, onchange(e : UniSliderChangeEvent) { - console.log(e, 'e'); + let pos = e.detail.value; + console.log('pos', pos); this._audioContext!.seek(pos); this.onSeeking() this.onSeeked() @@ -164,7 +165,7 @@ this.onSeeked() this._isChanging = false; }, - startTimeInput(e : InputEvent) { + startTimeInput(e : UniInputEvent) { let startTimeValue = parseInt(e.detail.value) this._audioContext!.startTime = startTimeValue; this.onchangeValue(startTimeValue) diff --git a/pages/API/share-with-system/share-with-system.uvue b/pages/API/share-with-system/share-with-system.uvue index cb59e342c1285f426347f8892de10fbab10275c3..40e2acae2a2684aabbea931a9a1c49a06b239819 100644 --- a/pages/API/share-with-system/share-with-system.uvue +++ b/pages/API/share-with-system/share-with-system.uvue @@ -1,6 +1,6 @@