style: 优化文本编辑器文件夹图标样式

This commit is contained in:
jmal 2023-06-16 17:51:35 +08:00
parent 348d512f10
commit 296ab322fa

View File

@ -452,7 +452,7 @@
return { html: this.loadSvg(this.findIconClass(data.node.data)) } return { html: this.loadSvg(this.findIconClass(data.node.data)) }
}, },
findIconClass(file){ findIconClass(file){
if(!file || !file.contentType){ if(!file){
return return
} }
if(file.isFolder){ if(file.isFolder){