From b698f042e84091241bd0e061b3a1ce479e294d6e Mon Sep 17 00:00:00 2001 From: li-shengren-123456 Date: Thu, 27 Feb 2025 17:36:42 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E6=8D=A2=E8=A1=8C=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dialogue/components/DialogueAside.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/views/dialogue/components/DialogueAside.vue b/src/views/dialogue/components/DialogueAside.vue index 420f589..f698017 100644 --- a/src/views/dialogue/components/DialogueAside.vue +++ b/src/views/dialogue/components/DialogueAside.vue @@ -482,6 +482,9 @@ watch( display: block; margin-left: 24px; align-items: center; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } &:hover { background-color: #f3f4f6; @@ -490,11 +493,6 @@ watch( &.selected { background: linear-gradient(127.6deg, rgba(109, 117, 250, 0.2) -1.725%, rgba(90, 179, 255, 0.2) 98.22%); color: var(--o-text-color-primary); - > span { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } } } } -- Gitee From d9740ac82dcb448410511e4db89b3d70d34a1292 Mon Sep 17 00:00:00 2001 From: li-shengren-123456 Date: Thu, 27 Feb 2025 21:16:45 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=B0=83=E8=AF=95=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E6=89=93=E5=BC=80=E6=97=B6=EF=BC=8C=E5=B7=A6=E4=BE=A7=E6=8B=96?= =?UTF-8?q?=E6=8B=BD=E8=8A=82=E7=82=B9=E7=A6=81=E6=AD=A2=E3=80=82=E4=BB=A5?= =?UTF-8?q?=E5=8F=8A=E4=BF=AE=E6=94=B9=E5=BC=80=E5=A7=8B=E7=BB=93=E6=9D=9F?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E5=88=9D=E5=A7=8B=E5=8C=96=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/createapp/components/workFlow.vue | 4 ++++ .../createapp/components/workFlowConfig/workFlowDialog.vue | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/createapp/components/workFlow.vue b/src/views/createapp/components/workFlow.vue index 59db808..871a1e7 100644 --- a/src/views/createapp/components/workFlow.vue +++ b/src/views/createapp/components/workFlow.vue @@ -236,6 +236,10 @@ const dropFunc = e => { ElMessage.warning('请先创建/编辑工作流'); return; } + // 如果调试弹窗打开,不可拖拽 + if (debugDialogVisible.value) { + return; + } onDrop(e); // 添加节点时-判断节点是否都连接 nodeAndLineConnection(); diff --git a/src/views/createapp/components/workFlowConfig/workFlowDialog.vue b/src/views/createapp/components/workFlowConfig/workFlowDialog.vue index 0e4b341..31b7fc6 100644 --- a/src/views/createapp/components/workFlowConfig/workFlowDialog.vue +++ b/src/views/createapp/components/workFlowConfig/workFlowDialog.vue @@ -92,7 +92,7 @@ const handleSubmit = (formEl: FormInstance | undefined) => { nodes: [ { apiId: 'startId', - nodeMetaDataId: 'start', + nodeMetaDataId: 'none', serviceId: 'start', name: '开始', type: 'start', @@ -107,7 +107,7 @@ const handleSubmit = (formEl: FormInstance | undefined) => { }, { apiId: 'endId', - nodeMetaDataId: 'end', + nodeMetaDataId: 'none', serviceId: 'end', name: '结束', type: 'end', -- Gitee