bug: fix raw button switch to prepare

This commit is contained in:
2021-05-26 15:16:38 +08:00
parent ad2a9dd8e0
commit 3a2db11b06

View File

@@ -600,7 +600,11 @@ const component_audio_player = {
}
},
raw() {
this.set_playing_url()
if (this.prepare) {
this.prepare_func()
} else {
this.set_playing_url()
}
},
prepare() {
this.playing_file = {}