!87 修改 el-dialog 默认点击遮照为不关闭

* update 修改 el-dialog 默认点击遮照为不关闭
This commit is contained in:
这夏天依然平凡 2024-02-23 07:23:20 +00:00 committed by 疯狂的狮子Li
parent b2f00c4b71
commit 5b991be4c2

View File

@ -32,6 +32,10 @@ VXETable.config({
zIndex: 999999 zIndex: 999999
}); });
// 修改 el-dialog 默认点击遮照为不关闭
import { ElDialog } from 'element-plus';
ElDialog.props.closeOnClickModal.default = false;
const app = createApp(App); const app = createApp(App);
app.use(ElementIcons); app.use(ElementIcons);