提交 bf06d778 编写于 作者: M mahaifeng

[audio]去掉类型转换

上级 d2a3e072
...@@ -276,7 +276,7 @@ ...@@ -276,7 +276,7 @@
playbackRateChange(e : UniRadioGroupChangeEvent) { playbackRateChange(e : UniRadioGroupChangeEvent) {
// if (this._audioContext != null && this.isPlaying) { // if (this._audioContext != null && this.isPlaying) {
console.log(parseFloat(e.detail.value)) console.log(parseFloat(e.detail.value))
this._audioContext!.playbackRate = parseFloat(e.detail.value).toDouble() this._audioContext!.playbackRate = parseFloat(e.detail.value)
// } // }
}, },
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册