fix(flow-editor): NodeList 插入的 OutletLanes 独立 v-if,修被截断的 NotifyCard 条件链(浏览器冒烟发现:无出口审批落进 ConditionBox v-else 分支致 vnode 崩溃)

This commit is contained in:
chenxing
2026-10-03 16:12:00 +08:00
parent 138cb36800
commit 79866a05e1
@@ -21,9 +21,9 @@ defineProps<{
<template v-for="(item, i) in items" :key="item.uid">
<NodeCard v-if="item.kind === 'approval'" :node="item" />
<OutletLanes v-if="item.kind === 'approval' && item.outlets && item.outlets.length >= 2" :node="item" />
<NotifyCard v-else-if="item.kind === 'notify'" :node="item" />
<NotifyCard v-if="item.kind === 'notify'" :node="item" />
<ParallelBox v-else-if="item.kind === 'parallel'" :node="item" />
<ConditionBox v-else :node="item" />
<ConditionBox v-else-if="item.kind === 'condition'" :node="item" />
<PlusButton :container="container" :index="i + 1" />
</template>
</div>