mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
add audio mimetypes : mp4, flac
This commit is contained in:
@@ -137,9 +137,9 @@ export default {
|
||||
return this.data.type === "video";
|
||||
},
|
||||
isAudio() {
|
||||
let mimetypes = ['mpeg' , "mp3" , 'wan'];
|
||||
let mimetypes = ['mpeg' , "mp3" , 'mp4', 'wan' ,'flac'];
|
||||
return (
|
||||
mimetypes.includes(this.data.mimetype)
|
||||
mimetypes.includes(this.data.mimetype) && this.data.type === 'audio'
|
||||
);
|
||||
},
|
||||
canEditName() {
|
||||
|
||||
Reference in New Issue
Block a user