bug: fix raw button switch to prepare
This commit is contained in:
@@ -600,7 +600,11 @@ const component_audio_player = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
raw() {
|
raw() {
|
||||||
|
if (this.prepare) {
|
||||||
|
this.prepare_func()
|
||||||
|
} else {
|
||||||
this.set_playing_url()
|
this.set_playing_url()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
prepare() {
|
prepare() {
|
||||||
this.playing_file = {}
|
this.playing_file = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user