fix: 修复 AgentRun 导图连线与详情遮挡
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { computed, nextTick } from "vue";
|
||||
import dagre from "@dagrejs/dagre";
|
||||
import { MarkerType, Position, VueFlow, useVueFlow, type Edge, type Node } from "@vue-flow/core";
|
||||
import { Handle, MarkerType, Position, VueFlow, useVueFlow, type Edge, type Node } from "@vue-flow/core";
|
||||
import { Focus, Minus, Plus } from "lucide-vue-next";
|
||||
import StatusBadge from "@/components/common/StatusBadge.vue";
|
||||
import {
|
||||
@@ -119,6 +119,8 @@ async function fit(): Promise<void> {
|
||||
@keydown.enter.prevent="activate(data.row)"
|
||||
@keydown.space.prevent="activate(data.row)"
|
||||
>
|
||||
<Handle v-if="data.row.parentId" type="target" :position="Position.Left" />
|
||||
<Handle v-if="data.row.childCount > 0" type="source" :position="Position.Right" />
|
||||
<header>
|
||||
<span>{{ nodeLabel(data.row.kind) }}</span>
|
||||
<StatusBadge v-if="data.row.status" :status="agentObserverStatusToken(data.row.status).tone" :label="agentObserverStatusToken(data.row.status).label" />
|
||||
|
||||
Reference in New Issue
Block a user