修复:文本编辑器左侧文件树不显示文件的问题

This commit is contained in:
jmal 2021-02-20 15:10:18 +08:00
parent 3cbd623039
commit fa13378efc

View File

@ -459,7 +459,7 @@
if(file.contentType.indexOf('video') > -1){ if(file.contentType.indexOf('video') > -1){
return 'video' return 'video'
} }
if(file.contentType.contentType.startsWith('image')){ if(file.contentType.startsWith('image')){
return 'image' return 'image'
} }
if(file.contentType.indexOf('audio') > -1){ if(file.contentType.indexOf('audio') > -1){