Merge pull request #1556 from jlau-ice/fix/prevent-dialog-close-on-outside-click

fix: 防止在单击外部未保存的更改时关闭对话框
This commit is contained in:
hrz
2025-06-12 11:03:24 +08:00
committed by GitHub
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;">