Commit ffb586cb83acfb0c2c2a65d1a97564ea362b3f57
1 parent
ed7d911f
fix: 告警记录界面的批量告警清除颜色修改为红色,跟详情里面保持一致
Showing
1 changed file
with
3 additions
and
3 deletions
@@ -20,9 +20,9 @@ | @@ -20,9 +20,9 @@ | ||
20 | </template> | 20 | </template> |
21 | <template #toolbar> | 21 | <template #toolbar> |
22 | <Authority value="api:yt:alarm:batch:clear"> | 22 | <Authority value="api:yt:alarm:batch:clear"> |
23 | - <Button @click="handleBatchClear" type="primary" :disabled="getCanBatchClear"> | ||
24 | - <span>批量清除</span> | ||
25 | - </Button> | 23 | + <a-button type="danger" :disabled="getCanBatchClear" @click="handleBatchClear"> |
24 | + 批量清除 | ||
25 | + </a-button> | ||
26 | </Authority> | 26 | </Authority> |
27 | <Authority value="api:yt:alarm:batch:handle"> | 27 | <Authority value="api:yt:alarm:batch:handle"> |
28 | <Button @click="handleBatchAck" type="primary" :disabled="getCanBatchAck"> | 28 | <Button @click="handleBatchAck" type="primary" :disabled="getCanBatchAck"> |