关掉音乐播放器时先停止播放
This commit is contained in:
parent
c10abbab53
commit
d468135a64
@ -83,6 +83,7 @@ export default {
|
||||
methods: {
|
||||
close(){
|
||||
this.show = false
|
||||
this.$refs.audioPlayer.pause();
|
||||
this.audio.splice(0,this.audio.length)
|
||||
},
|
||||
onPicClick() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user