diff --git a/src/views/createapp/components/workFlow.vue b/src/views/createapp/components/workFlow.vue index 59db808875c34af40c81b23864ce0223516ad428..871a1e719abadac70e1f7af19bf161a5618c4487 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 0e4b34182b4da479a44a7d9e70c78a230e2e8ca5..31b7fc6ff1b4b2431794a36283ae57ad00eabe6a 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', diff --git a/src/views/dialogue/components/DialogueAside.vue b/src/views/dialogue/components/DialogueAside.vue index 420f5899d44992a7cb03093cf5d02cced20299e1..f6980176af35b34aebd96e441940d3da55876b2d 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; - } } } }