style: 优化文本编辑器文件夹图标样式
This commit is contained in:
parent
348d512f10
commit
296ab322fa
@ -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){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user