From ab8844b0a18fd4708a99a65851f63847b783eff4 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Tue, 18 Jun 2024 10:38:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E7=BC=A9=E6=94=BE=E6=96=87=E5=AD=97=E6=A8=A1=E7=B3=8A=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/workflow/common/NodeContainer.vue | 3 +++ ui/src/workflow/common/app-node.ts | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ui/src/workflow/common/NodeContainer.vue b/ui/src/workflow/common/NodeContainer.vue index ba6e5e4c6..4c1ce15ba 100644 --- a/ui/src/workflow/common/NodeContainer.vue +++ b/ui/src/workflow/common/NodeContainer.vue @@ -123,4 +123,7 @@ const props = defineProps<{ .outgoing-anchor { stroke: #82b366; } +:deep(.el-card) { + overflow: visible; +} diff --git a/ui/src/workflow/common/app-node.ts b/ui/src/workflow/common/app-node.ts index 620ac1216..8a7c4bdad 100644 --- a/ui/src/workflow/common/app-node.ts +++ b/ui/src/workflow/common/app-node.ts @@ -1,12 +1,13 @@ import Components from '@/components' import ElementPlus from 'element-plus' import * as ElementPlusIcons from '@element-plus/icons-vue' -import { HtmlNode, HtmlNodeModel, BaseEdge } from '@logicflow/core' + +import { HtmlResize } from '@logicflow/extension' import { createApp, h } from 'vue' import directives from '@/directives' import i18n from '@/locales' -class AppNode extends HtmlNode { +class AppNode extends HtmlResize.view { isMounted r app @@ -61,7 +62,7 @@ class AppNode extends HtmlNode { } } -class AppNodeModel extends HtmlNodeModel { +class AppNodeModel extends HtmlResize.model { getOutlineStyle() { const style = super.getOutlineStyle() style.stroke = 'none'