diff --git a/src/components/FancyTree/index.vue b/src/components/FancyTree/index.vue index 928786a..29a62f5 100644 --- a/src/components/FancyTree/index.vue +++ b/src/components/FancyTree/index.vue @@ -452,7 +452,7 @@ return { html: this.loadSvg(this.findIconClass(data.node.data)) } }, findIconClass(file){ - if(!file || !file.contentType){ + if(!file){ return } if(file.isFolder){