mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-06 02:33:48 +00:00
add audio mimetypes : mp4, flac
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
{
|
||||
"/js/main.js": "/js/main.js",
|
||||
"/css/app.css": "/css/app.css",
|
||||
"/js/main.e84b67db399d8c1f57c0.hot-update.js": "/js/main.e84b67db399d8c1f57c0.hot-update.js",
|
||||
"/js/main.30de109047f5120e380a.hot-update.js": "/js/main.30de109047f5120e380a.hot-update.js",
|
||||
"/js/main.bbd04c575f17bb289f46.hot-update.js": "/js/main.bbd04c575f17bb289f46.hot-update.js",
|
||||
"/js/main.308c88e8a6e67cf82734.hot-update.js": "/js/main.308c88e8a6e67cf82734.hot-update.js",
|
||||
"/js/main.0691e1e55aa442a30017.hot-update.js": "/js/main.0691e1e55aa442a30017.hot-update.js"
|
||||
"/js/main.792dafb651f57548b990.hot-update.js": "/js/main.792dafb651f57548b990.hot-update.js",
|
||||
"/js/main.43320a4a3fcb14b31611.hot-update.js": "/js/main.43320a4a3fcb14b31611.hot-update.js",
|
||||
"/js/main.cfddc9ce030f2554c4ae.hot-update.js": "/js/main.cfddc9ce030f2554c4ae.hot-update.js"
|
||||
}
|
||||
|
||||
@@ -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