Commit 17b4ed6716c47d8618d71981eca92219db789082

Authored by fengtao
1 parent 63e0c9b4

perf: 优化场景联动,执行条件开启后不可删除

... ... @@ -143,7 +143,12 @@
143 143 </div>
144 144 <Tooltip title="删除">
145 145 <Icon
146   - v-if="!disabledDrawer && flipFlopListElRef.length > 1"
  146 + v-if="
  147 + !disabledDrawer &&
  148 + (type === FlipFlopComponentTypeEnum.FLIP_FLOP
  149 + ? flipFlopListElRef.length > 1
  150 + : true)
  151 + "
147 152 class="ml-2 cursor-pointer"
148 153 icon="fluent:delete-off-20-regular"
149 154 size="20"
... ...