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