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