关掉音乐播放器时先停止播放

This commit is contained in:
jmal 2020-03-31 23:14:12 +08:00
parent c10abbab53
commit d468135a64

View File

@ -83,6 +83,7 @@ export default {
methods: {
close(){
this.show = false
this.$refs.audioPlayer.pause();
this.audio.splice(0,this.audio.length)
},
onPicClick() {