fix: 防止在单击外部未保存的更改时关闭对话框

This commit is contained in:
ganbin
2025-06-12 09:03:48 +08:00
parent 4b0902017b
commit 77ded65157
3 changed files with 3 additions and 3 deletions
@@ -1,5 +1,5 @@
<template>
<el-dialog :visible="visible" @update:visible="handleVisibleChange" width="57%" center custom-class="custom-dialog"
<el-dialog :visible="visible" :close-on-click-modal="false" @update:visible="handleVisibleChange" width="57%" center custom-class="custom-dialog"
:show-close="false" class="center-dialog">
<div style="margin: 0 18px; text-align: left; padding: 10px; border-radius: 10px;">