|
|
@ -201,7 +201,7 @@ const handleClose = async (item: SystemLog, key: number) => { |
|
|
|
} |
|
|
|
const handleCloseAll = async () => { |
|
|
|
await ElMessageBox.confirm( |
|
|
|
'确认关闭所有?', |
|
|
|
'确认清除所有?', |
|
|
|
'Warning', |
|
|
|
{ |
|
|
|
confirmButtonText: '确认', |
|
|
@ -321,6 +321,7 @@ const handleCloseAll = async () => { |
|
|
|
:key |
|
|
|
:type="statusMap[item?.status as keyof typeof statusMap].type" |
|
|
|
closable |
|
|
|
size="large" |
|
|
|
@close="handleClose(item, key)" |
|
|
|
> |
|
|
|
<div style="display: flex; justify-content: space-between; width: 100%"> |
|
|
@ -334,7 +335,7 @@ const handleCloseAll = async () => { |
|
|
|
</div> |
|
|
|
<div class="close-btn"> |
|
|
|
<el-button type="primary" @click="handleCloseAll"> |
|
|
|
关闭所有 |
|
|
|
清除所有 |
|
|
|
</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|