feat: support closing log dialog with ESC key and outside click

This commit is contained in:
zhengkunwang223 2025-09-03 15:52:41 +08:00
parent ea7f324a9d
commit 17a141f910

View file

@ -1,12 +1,5 @@
<template>
<el-dialog
v-model="open"
:close-on-click-modal="false"
:close-on-press-escape="false"
:show-close="showClose"
@close="handleClose"
:width="width"
>
<el-dialog v-model="open" :show-close="showClose" @close="handleClose" :width="width">
<div v-if="open">
<LogFile :config="config" :showTail="showTail"></LogFile>
</div>