Showing
1 changed file
with
4 additions
and
1 deletions
... | ... | @@ -16,7 +16,7 @@ |
16 | 16 | type="primary" |
17 | 17 | color="error" |
18 | 18 | @click="handleDeleteOrBatchDelete(null)" |
19 | - :disabled="hasBatchDelete" | |
19 | + :disabled="singleStopDeleteStatus || hasBatchDelete" | |
20 | 20 | > |
21 | 21 | 批量删除 |
22 | 22 | </a-button> |
... | ... | @@ -117,6 +117,7 @@ |
117 | 117 | convertIds: [], |
118 | 118 | status: 0, |
119 | 119 | }); |
120 | + const singleStopDeleteStatus = ref(false); | |
120 | 121 | const disabledStatus1 = ref(true); |
121 | 122 | const disabledStatus2 = ref(true); |
122 | 123 | const disabledStatus3 = ref(true); |
... | ... | @@ -314,6 +315,7 @@ |
314 | 315 | setLoading(false); |
315 | 316 | reload(); |
316 | 317 | disabledStatus1.value = true; |
318 | + singleStopDeleteStatus.value = true; | |
317 | 319 | } else { |
318 | 320 | createMessage.error('流转配置多项启用失败'); |
319 | 321 | } |
... | ... | @@ -342,6 +344,7 @@ |
342 | 344 | handleDisable, |
343 | 345 | hasBatchDelete, |
344 | 346 | handleDeleteOrBatchDelete, |
347 | + singleStopDeleteStatus, | |
345 | 348 | }; |
346 | 349 | }, |
347 | 350 | }); | ... | ... |