feat: support closing log dialog with ESC key and outside click (#10252)

Refs https://github.com/1Panel-dev/1Panel/issues/10240
This commit is contained in:
CityFun 2025-09-03 17:27:30 +08:00 committed by GitHub
parent 39cf26628f
commit 7ba06e73d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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>