From 5c165a25609cb7ce640ec87f3d9743b63864c0a1 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Thu, 6 Jun 2024 19:21:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B7=A5=E4=BD=9C=E7=BC=96=E6=8E=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/workflow/icons/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/workflow/icons/utils.ts b/ui/src/workflow/icons/utils.ts index 69e4e9d06..b667cdc6e 100644 --- a/ui/src/workflow/icons/utils.ts +++ b/ui/src/workflow/icons/utils.ts @@ -1,5 +1,5 @@ const icons: any = import.meta.glob('./**.vue', { eager: true }) export function iconComponent(name: string) { - const url = `./icons/${name}.vue` + const url = `./${name}.vue` return icons[url]?.default || null }