From 296ab322fa055d9470d710db1ba6519cca67a0a8 Mon Sep 17 00:00:00 2001 From: jmal Date: Fri, 16 Jun 2023 17:51:35 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8=E6=96=87=E4=BB=B6=E5=A4=B9=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FancyTree/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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){