From c960123b411fb19b457750085c1f546438e15c57 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Wed, 30 Oct 2024 16:46:44 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E7=BC=96=E6=8E=92=E5=8E=86=E5=8F=B2=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/components/dynamics-form/index.ts | 4 +- ui/src/views/application-workflow/index.vue | 41 ++++++++++----------- ui/src/workflow/common/app-node.ts | 22 +++++------ ui/src/workflow/index.vue | 14 +++++-- 4 files changed, 43 insertions(+), 38 deletions(-) diff --git a/ui/src/components/dynamics-form/index.ts b/ui/src/components/dynamics-form/index.ts index ba8cbfb0..f4d69a0c 100644 --- a/ui/src/components/dynamics-form/index.ts +++ b/ui/src/components/dynamics-form/index.ts @@ -16,7 +16,9 @@ const install = (app: App) => { const commentName: string = key .substring(key.lastIndexOf('/') + 1, key.length) .replace('.vue', '') - app.component(commentName, components[key].default) + if (key !== '/src/components/dynamics-form/constructor/index.vue') { + app.component(commentName, components[key].default) + } }) app.component('DynamicsForm', DynamicsForm) } diff --git a/ui/src/views/application-workflow/index.vue b/ui/src/views/application-workflow/index.vue index 546763ae..75ea0af4 100644 --- a/ui/src/views/application-workflow/index.vue +++ b/ui/src/views/application-workflow/index.vue @@ -134,14 +134,14 @@