Showing
1 changed file
with
6 additions
and
1 deletions
| @@ -143,7 +143,12 @@ | @@ -143,7 +143,12 @@ | ||
| 143 | </div> | 143 | </div> |
| 144 | <Tooltip title="删除"> | 144 | <Tooltip title="删除"> |
| 145 | <Icon | 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 | class="ml-2 cursor-pointer" | 152 | class="ml-2 cursor-pointer" |
| 148 | icon="fluent:delete-off-20-regular" | 153 | icon="fluent:delete-off-20-regular" |
| 149 | size="20" | 154 | size="20" |