Commit 35ec0342 authored by liujiangnan's avatar liujiangnan

fix

parent 5d12e41f
...@@ -69,7 +69,7 @@ new Vue({ ...@@ -69,7 +69,7 @@ new Vue({
// 播放/暂停音频 // 播放/暂停音频
togglePlay() { togglePlay() {
const audio = this.$refs['audio'][0]; const audio = this.$refs['audio'];
if (this.data.isPlaying) { if (this.data.isPlaying) {
audio.pause(); audio.pause();
this.data.isPlaying = false; this.data.isPlaying = false;
......
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