bug: fix raw button when no file playing
This commit is contained in:
@@ -554,6 +554,9 @@ const component_audio_player = {
|
|||||||
this.ffmpeg_config = ffmpeg_config
|
this.ffmpeg_config = ffmpeg_config
|
||||||
},
|
},
|
||||||
prepare_func() {
|
prepare_func() {
|
||||||
|
if (!this.file.id) {
|
||||||
|
return
|
||||||
|
}
|
||||||
this.playing_file = {}
|
this.playing_file = {}
|
||||||
this.is_preparing = true
|
this.is_preparing = true
|
||||||
axios.post('/api/v1/prepare_file_stream_direct', {
|
axios.post('/api/v1/prepare_file_stream_direct', {
|
||||||
|
|||||||
Reference in New Issue
Block a user