bug: fix raw button when no file playing

This commit is contained in:
2021-05-26 14:33:12 +08:00
parent c66416baaf
commit ad2a9dd8e0

View File

@@ -554,6 +554,9 @@ const component_audio_player = {
this.ffmpeg_config = ffmpeg_config
},
prepare_func() {
if (!this.file.id) {
return
}
this.playing_file = {}
this.is_preparing = true
axios.post('/api/v1/prepare_file_stream_direct', {